sohaibafifi / languagetool

A fork of languagetool to maintain Arabic
https://languagetool.org
GNU Lesser General Public License v2.1
18 stars 1 forks source link

New Tag manager methdos #63

Closed linuxscout closed 2 years ago

linuxscout commented 2 years ago

Add new tag manager functionalities to handle POS tag merging:

Need: When we replace a word 'w1' by another word 'w2', we need to inflect the new word according the replaced word tag.

POS Tag Structure:

3 parts:

Example:

Process

Same word type

if postags have the same word class, it can be used to replace :

Different word type

if postags haven't the same word class, it can be used to replace :

linuxscout commented 2 years ago

Implemented