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

Dawid Weiss edited comment on LUCENE-6774 at 9/2/15 6:00 PM:
-------------------------------------------------------------

You see Morfologik does ship with the Polish dictionary, but it's merely a 
simple wrapper around a static inflection dictionary. You could build these 
yourself for an arbitrary language and reuse all of the code to just load and 
scan it -- this is what this project does, for example:

https://languagetool.org/

That's why I think it'd make more sense to remove all of these resource-loading 
facilities and simply require an URI to the data itself. 

Your solution is great, of course!


was (Author: dweiss):
You see Morfologik does ship with the Polish dictionary, but it's merely a 
simply wrapper around a static inflection dictionary. You could build these 
yourself for an arbitrary language and reuse all of the code to just load and 
scan it -- this is what this project does, for example:

https://languagetool.org/

That's why I think it'd make more sense to remove all of these resource-loading 
facilities and simply require an URI to the data itself. 

Your solution is great, of course!

> Remove solr hack in MorfologikFilter
> ------------------------------------
>
>                 Key: LUCENE-6774
>                 URL: https://issues.apache.org/jira/browse/LUCENE-6774
>             Project: Lucene - Core
>          Issue Type: Bug
>          Components: modules/analysis
>            Reporter: Robert Muir
>            Assignee: Uwe Schindler
>            Priority: Blocker
>             Fix For: Trunk, 5.4, 5.3.1
>
>         Attachments: LUCENE-6774.patch, LUCENE-6774.patch, LUCENE-6774.patch, 
> LUCENE-6774.patch
>
>
> If solr wants to set the contextClassLoader because its classloading is 
> fucked up, then it needs to do this hack itself: it should not be in lucene 
> code.
> The current mess prevents use of this analyzer in other environments



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

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to