visaruruqi commented on PR #16957:
URL: https://github.com/apache/lucene/pull/16957#issuecomment-7044758506

   Thanks for the review, Dawid. Yes, an LLM did a lot of the typing and ran 
the checks. I'm a native speaker and went through the rules and the output 
myself.
   
   The rules aren't invented though. The method (longest-match suffix removal 
with a minimum stem length) comes from the two published Albanian stemmers, 
Karanikolas 2009 and Sadiku & Biba 2012. Neither released code or suffix 
tables, so the endings themselves are the regular paradigms from Newmark, 
Hubbard & Prifti's reference grammar (1982), cross-checked against Wiktionary's 
inflection tables. All of that is cited in the class Javadoc of 
AlbanianLightStemmer:
   
https://github.com/visaruruqi/lucene/blob/cb4648462598b577180a324e51a855d5c90cca37/lucene/analysis/common/src/java/org/apache/lucene/analysis/sq/AlbanianLightStemmer.java#L21-L40
   
   Each guard also has the words that motivated it next to the rule. CHANGES 
entry is moved to 11.
   


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


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

Reply via email to