lucene-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "rashi gandhi (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (LUCENE-2899) Add OpenNLP Analysis capabilities as a module
Date Fri, 23 May 2014 13:18:01 GMT

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

rashi gandhi commented on LUCENE-2899:
--------------------------------------

Hi,

 I have one running solr core with some data indexed on solr deployed on Tomcat. 
This core  is designed to provide OpenNLP functionalities for indexing and searching.
So I have kept following binary models at this location: \apache-tomcat-7.0.53\solr\collection1\conf\opennlp

•         en-sent.bin
•         en-token.bin
•         en-pos-maxent.bin
•         en-ner-person.bin
•         en-ner-location.bin
 
My Problem is: When I unload the running core, and try to delete conf directory from it.
It is not allowing me to delete directory with prompt that en-sent.bin and en-token.bin is
in use.
All other files in conf directory are getting deleted except en-sent.bin and en-token.bin.
If I have unloaded core, then why it is not unlocking the connection with core?
Is this a known issue with OpenNLP Binaries?
How can I release the connection between unloaded core and conf directory. (Specially binary
models)
 
Please provide me some pointers on this.
Thanks in Advance


> 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.9, 5.0
>
>         Attachments: LUCENE-2899-RJN.patch, LUCENE-2899.patch, OpenNLPFilter.java, OpenNLPTokenizer.java
>
>
> 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 was sent by Atlassian JIRA
(v6.2#6252)

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


Mime
View raw message