[
https://issues.apache.org/jira/browse/LUCENE-7287?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15326066#comment-15326066
]
Andriy Rysin commented on LUCENE-7287:
--------------------------------------
Ok, guys, I've created little project with Ukrainian analyzer for lucene using
MorfologikAnalyzer: https://github.com/arysin/lucene_uk
The test
(https://github.com/arysin/lucene_uk/blob/master/src/test/java/org/apache/lucene/analysis/uk/TestUkrainianAnalyzer.java)
runs successfully inside lucene but I can't run it in my project (getting NPE
at RunListenerPrintReproduceInfo.java:131).
I can run simple standalone test app though with no problem:
https://github.com/arysin/lucene_uk/blob/master/src/test/java/org/lucene_uk/test/LuceneTest.java
For simplicity for now I just included Ukrainian binary morfologik dictionary
in the project itself. The only currently published artifact with Ukrainian
dictionary is http://mvnrepository.com/artifact/org.languagetool/language-uk
but it requires languagetool-core and dragging it into lucene probably does not
make sense. If the PoC is good enough I can take a shot at creating separate
artifact with just a dictionary (this may take some time) or we can just live
with the blob in lucene.
I would appreciate if you can take a look and let me know how it looks. If it's
acceptable I would need to work on including some of the goodies from Dmytro's
project: handling different apostrophes and ignoring accent character.
> New lemma-tizer plugin for ukrainian language.
> ----------------------------------------------
>
> Key: LUCENE-7287
> URL: https://issues.apache.org/jira/browse/LUCENE-7287
> Project: Lucene - Core
> Issue Type: New Feature
> Components: modules/analysis
> Reporter: Dmytro Hambal
> Priority: Minor
> Labels: analysis, language, plugin
>
> Hi all,
> I wonder whether you are interested in supporting a plugin which provides a
> mapping between ukrainian word forms and their lemmas. Some tests and docs go
> out-of-the-box =) .
> https://github.com/mrgambal/elasticsearch-ukrainian-lemmatizer
> It's really simple but still works and generates some value for its users.
> More: https://github.com/elastic/elasticsearch/issues/18303
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]