Hi, The page http://wiki.apertium.org/wiki/Lemmatisation tells me to run:
$ echo "Den här är en test." | apertium -d . swe-tagger | cg-proc guesser.bin | sed 's/<[^>]\+>//g' | cg-proc -n guesser.bin Thus swe-tagger implicitly tells me that CG is used for disambiguation? I don't have to change anything at all. What about other languages? Will the command work by just changing swe to the actual language? It doesn't matter if the language uses CG or not? Yours, Per Tunedal On Mon, Mar 7, 2016, at 10:20, Kevin Brubeck Unhammer wrote: > Kevin Brubeck Unhammer <[email protected]> čálii: > > > Per Tunedal <[email protected]> čálii: > > > >> Hi again, > >> Obviously, CG would be quite helpful for disambiguation when doing > >> lemmatisation. Would it be complicated to add an option to use CG (if > >> present)? Using the cg-rules for the language would probable remove some > >> more ambiguity. > > > > Exchange -tagger for -disam to run CG as well. > > Sorry, I confused myself: -tagger actually runs CG now. So > > swe-morph = lt-proc swe.automorf.bin > > swe-disam = lt-proc swe.automorf.bin | cg-proc swe.rlx.bin > > swe-tagger = lt-proc swe.automorf.bin | cg-proc swe.rlx.bin | > apertium-tagger swe.prob > ------------------------------------------------------------------------------ > Transform Data into Opportunity. > Accelerate data analysis in your applications with > Intel Data Analytics Acceleration Library. > Click to learn more. > http://makebettercode.com/inteldaal-eval > _______________________________________________ > Apertium-stuff mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/apertium-stuff > Email had 1 attachment: > + signature.asc > 1k (application/pgp-signature) ------------------------------------------------------------------------------ Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://makebettercode.com/inteldaal-eval _______________________________________________ Apertium-stuff mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/apertium-stuff
