jimczi commented on a change in pull request #576: LUCENE-8631:
Longest-Matching for User words in Nori Tokenizer
URL: https://github.com/apache/lucene-solr/pull/576#discussion_r262862672
##########
File path:
lucene/analysis/nori/src/java/org/apache/lucene/analysis/ko/KoreanTokenizer.java
##########
@@ -514,6 +522,9 @@ private void parse() throws IOException {
// Index of the last character of unknown word:
int unknownWordEndIndex = -1;
+ /// Largest global posAhead of user word
+ int global_posAheadMax = -1;
Review comment:
Why is it needed ?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]