You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Kai Gülzau (JIRA)" <ji...@apache.org> on 2013/02/01 09:25:15 UTC

[jira] [Commented] (LUCENE-2899) Add OpenNLP Analysis capabilities as a module

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

Kai Gülzau commented on LUCENE-2899:
------------------------------------

I have applied the Patch to trunk, modified the build scripts manually (ignoring javadoc tasks) and built the opennlp jars.
Jars are running in a vanilla Solr 4.1 environment.

- solr_server4.1\solr\lib\opennlp\
-- jwnl-1.4_rc3.jar
-- lucene-analyzers-opennlp-5.0-SNAPSHOT.jar (build with patch)
-- opennlp-maxent-3.0.2-incubating.jar
-- opennlp-tools-1.5.2-incubating.jar
-- solr-opennlp-5.0-SNAPSHOT.jar (build with patch)

with <lib dir="../lib/opennlp" /> in solrconfig.xml

Works for me: http://mail-archives.apache.org/mod_mbox/lucene-solr-user/201301.mbox/%3CB65DA877C3F93B4FB39EA49A1A03C95CC27AB1%40email.novomind.com%3E

                
> Add OpenNLP Analysis capabilities as a module
> ---------------------------------------------
>
>                 Key: LUCENE-2899
>                 URL: https://issues.apache.org/jira/browse/LUCENE-2899
>             Project: Lucene - Core
>          Issue Type: New Feature
>          Components: modules/analysis
>            Reporter: Grant Ingersoll
>            Assignee: Grant Ingersoll
>            Priority: Minor
>             Fix For: 4.2, 5.0
>
>         Attachments: LUCENE-2899.patch, LUCENE-2899.patch, LUCENE-2899.patch, LUCENE-2899.patch, LUCENE-2899.patch, LUCENE-2899.patch, OpenNLPFilter.java, OpenNLPTokenizer.java, opennlp_trunk.patch
>
>
> Now that OpenNLP is an ASF project and has a nice license, it would be nice to have a submodule (under analysis) that exposed capabilities for it. Drew Farris, Tom Morton and I have code that does:
> * Sentence Detection as a Tokenizer (could also be a TokenFilter, although it would have to change slightly to buffer tokens)
> * NamedEntity recognition as a TokenFilter
> We are also planning a Tokenizer/TokenFilter that can put parts of speech as either payloads (PartOfSpeechAttribute?) on a token or at the same position.
> I'd propose it go under:
> modules/analysis/opennlp

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org