You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tika.apache.org by "Ken Krugler (JIRA)" <ji...@apache.org> on 2015/09/03 19:17:45 UTC

[jira] [Commented] (TIKA-568) Language Detection isReasonablyCertain() hides valuable information

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

Ken Krugler commented on TIKA-568:
----------------------------------

The new LanguageDetector API has a getRawScore() call on the result, which will return a value from 1.0 (certain match) down to (but not including) 0.0 (no match).

> Language Detection isReasonablyCertain() hides valuable information
> -------------------------------------------------------------------
>
>                 Key: TIKA-568
>                 URL: https://issues.apache.org/jira/browse/TIKA-568
>             Project: Tika
>          Issue Type: Improvement
>          Components: languageidentifier
>            Reporter: Grant Ingersoll
>            Assignee: Ken Krugler
>            Priority: Minor
>         Attachments: TIKA-568.patch
>
>
> LanguageIdentifier.isReasonablyCertain() hardcodes a threshold for language detection, which is fine, except applications should be allowed to decide what threshold suits them.  For instance, how was 0.022 decided?



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)