[ 
https://issues.apache.org/jira/browse/TIKA-3147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17165901#comment-17165901
 ] 

Hudson commented on TIKA-3147:
------------------------------

SUCCESS: Integrated in Jenkins build tika-main-jdk11 #1015 (See 
[https://builds.apache.org/job/tika-main-jdk11/1015/])
TIKA-3147 -- strip punctuation before language id; fix bug that omitted 
(tallison: 
[https://github.com/apache/tika/commit/7a0f5fc72f5973cb7100701a886b748a2748e0b9])
* (edit) 
tika-eval/src/main/java/org/apache/tika/eval/langid/LanguageIDWrapper.java
* (edit) 
tika-eval/src/test/java/org/apache/tika/eval/textstats/TextStatsTest.java


> Strip punctuation in lang id component within tika-eval
> -------------------------------------------------------
>
>                 Key: TIKA-3147
>                 URL: https://issues.apache.org/jira/browse/TIKA-3147
>             Project: Tika
>          Issue Type: Task
>            Reporter: Tim Allison
>            Priority: Major
>             Fix For: 1.25
>
>
> I noticed that "the quick brown fox jumped over the lazy dog" was identified 
> as English in tika-eval.  However, if I added semi-colons, it was identified 
> as Chinese.
> This is in alignment with what I've recently seen on a new batch of technical 
> documents that are mostly numbers and abbreviations...these are being 
> identified as Chinese.
> Ideally, we'd strip out punctuation while building the models, and while 
> running language id.
> As a short term fix, we should at least strip out punctuation during 
> detection.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to