Generating a custom Tokenizer for new TokenStream API using JFlex/ Java CC

后端 未结 1 1835
你的背包
你的背包 2020-12-03 16:57

We are currently using Lucene 2.3.2 and want to migrate to 3.4.0 . We have our own custom Tokenizer generated using Java CC which has been in use ever since we started using

相关标签:
1条回答
  • 2020-12-03 17:17

    I found the grammar used to generate StandardTokenizer at http://svn.apache.org/viewvc/lucene/java/trunk/src/java/org/apache/lucene/analysis/standard/StandardTokenizerImpl.jflex?view=log&pathrev=692211. Modified grammar to suit to our requirements and generated java code using jflex http://jflex.de/

    0 讨论(0)
提交回复
热议问题