tika-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From TaichiHo <...@git.apache.org>
Subject [GitHub] tika pull request: fix for TIKA-1787 contributed by Yueheng He
Date Thu, 05 Nov 2015 23:22:43 GMT
GitHub user TaichiHo opened a pull request:

    https://github.com/apache/tika/pull/62

    fix for TIKA-1787 contributed by Yueheng He

    Succeed in building using java 1.8.0_65. 
    To see the effect, create a text file like the following. 
    ```
    Good afternoon Rajat Raina, how are you today? Hi, I am Tom Brady. I go to school at Stanford
University, which is located in California.
    ```
    Save it as test.ner and feed it to tika. 
    ```
    java -classpath tika-app/target/tika-app-1.12-SNAPSHOT.jar org.apache.tika.cli.TikaCLI
-m test.ner
    ```
    The result should look like this
    ```
    Content-Length: 137
    Content-Type: application/stanford-ner
    LOCATION: [California]
    ORGANIZATION: [Stanford University]
    PERSON: [Rajat Raina, Tom Brady]
    X-Parsed-By: org.apache.tika.parser.DefaultParser
    X-Parsed-By: org.apache.tika.parser.stanfordNer.StanfordNerParser
    resourceName: test.ner
    ```

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/TaichiHo/tika TIKA-1787

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/tika/pull/62.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #62
    
----
commit b94331ece262bb8d8408dda7b22b6dc0bb69557e
Author: Taichi <heyuehengtaichi@gmail.com>
Date:   2015-11-05T22:47:22Z

    fix for TIKA-1787 contributed by Yueheng He

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message