adamsamson/HornMorpho2.5

Change Root roman form to Amharic letter like gen function

Opened this issue · 1 comments

When using l3.anal() function, it returns the root in roman form. So to exactly know what it is in amharic, I have to use l3.gen() function which will cost me another processing time.

eg.

l3.anal_word("am", "የሰጡትን" , nbest = 1);

This returns:

word: የሰጡትን
POS: verb, root: <sT*>, citation: ሰጠ
 subject: 3, plur
 object: 3, sing, masc
 grammar: perfective, relative, accusative, definite

Here the root is <sT>*, but a want it to be "ሰጠ“.

To actually get what I want, I have to use

l3.gen("am", "<sT*>")

This will return ሰጠ.

So my question is, is there a way to return the root in Amharic form from l3.anal() function.

Thanks.

Not that i'm aware of, but it would be great if you could add this function and contribute it.