You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@datafu.apache.org by "Matthew Hayes (JIRA)" <ji...@apache.org> on 2015/11/07 00:00:12 UTC

[jira] [Updated] (DATAFU-102) SentenceDetect fails to load input bin file

     [ https://issues.apache.org/jira/browse/DATAFU-102?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Matthew Hayes updated DATAFU-102:
---------------------------------
    Attachment: DATAFU-102.patch

Attaching fix.

> SentenceDetect fails to load input bin file
> -------------------------------------------
>
>                 Key: DATAFU-102
>                 URL: https://issues.apache.org/jira/browse/DATAFU-102
>             Project: DataFu
>          Issue Type: Bug
>            Reporter: Matthew Hayes
>            Assignee: Matthew Hayes
>             Fix For: 1.3.0
>
>         Attachments: DATAFU-102.patch
>
>
> The FileInputStream is referencing the modelPath instead of the loadFile, which is where the cached file is locally.  As a result the UDF doesn't work in a real environment.  It seems our unit test doesn't simulate this.
> I have the fix ready (very easy).



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