Using the parser ================ #analysing words in xfst ------------------------ xfst load stack sme.save (or: sme.fst) apply up (for analyzing; then write word-forms) ctrl-D (to leave analyzing mode) apply down (for generating, then write baseform+tag) ctrl-D (to leave generating mode) #analysing words in lookup, cleaner interface --------------------------------------------- lookup -flags mb sme.fst (thereafter write word-forms) #analysing sentences, one at a time ----------------------------------- tokenize tok.fst | lookup -flags mb sme.fst RET ... write sentence here ... ctrl-D #analysing texts (assuming text in "filename", Sami letters a1, c1, etc.) ------------------------------------------------------------------------- cat filename | tokenize tok.fst | lookup -flags mb sme.fst | less