-
Notifications
You must be signed in to change notification settings - Fork 4
SrgTop
Olga Zamaraeva edited this page Jul 26, 2022
·
20 revisions
Montserrat Marimon developed the Spanish Resource Grammar (see References).
- For now: Linux only, due to the FreeLing dependency, which is tricky to set up for a Mac OS.
- Check out a copy of SRG from github: https://github.com/delph-in/srg. (Note: Do not use the older SVN copy because that would require extra steps.)
- Install freeling, picking the correct deb package for your ubuntu version. For example, for Ubuntu 20, pick freeling-4.2-focal-amd64.deb .
- To check the Freeling is working: try typing something like
analyze -f es.cfg
and then type in a Spanish sentence, likeEl gato duerme
. You should see something like:
el gato duerme.
el el DA0MS0 1
gato gato NCMS000 1
duerme dormir VMIP3S0 0.989241
. . Fp 1
- An integrated mode of using SRG with Freling is work in progress. It will probably rely on a script which maps tags from Freeling with rules in the SRG using YY input mode.
Home | Forum | Discussions | Events