[
https://issues.apache.org/jira/browse/TIKA-3147?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17165906#comment-17165906
]
Hudson commented on TIKA-3147:
------------------------------
UNSTABLE: Integrated in Jenkins build tika-branch-1x-jdk8 #352 (See
[https://builds.apache.org/job/tika-branch-1x-jdk8/352/])
TIKA-3147 -- strip punctuation before language id; fix bug that omitted
(tallison:
[https://github.com/apache/tika/commit/4efe92fec51de35b7e04fddc935a1e8c874d3e47])
* (edit)
tika-eval/src/test/java/org/apache/tika/eval/textstats/TextStatsTest.java
* (edit)
tika-eval/src/main/java/org/apache/tika/eval/langid/LanguageIDWrapper.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)