Closed linuxscout closed 2 years ago
Need: inflect a lemma like another word token,
Input : lemma; token, postag output: inflected word based on lemma and postag of source word.
process: the lemma borrows affixes and conjugation from source word token.
Implemented file: org/languagetool/synthesis/ar/ArabicSynthesizer.java Method:
/ generate a new form according to a specific postag, this form is Attached/ public List inflectLemmaLike(String targetLemma, AnalyzedToken sourcetoken)
Need: inflect a lemma like another word token,
Input : lemma; token, postag output: inflected word based on lemma and postag of source word.
process: the lemma borrows affixes and conjugation from source word token.