Hugo David Calderon Vilca
<[email protected]> writes:
> Estimados,
>
> Si alguien tiene por favor documentación de la estructura de un
> archivo.lexc, que trabaja con HFST, si es posible documentación es
> castellano, es que necesito explicarme algunos líneas por ejemplo:
> %<af%>%<excl%>:%>m%>ari # ; ! Dir/LR
> %<cnjcoo%>:%>puwan CLIT-puni ;
> %<lim%>%<px3sg%>@D.lim@:%>%{bN%}%{bnI%}lla%>[email protected]@ N-FLEX-Plural ;
> %<incl%>%<lim%>@P.lim.pres@@D.NUMxrel.pres@:%>%{bN%}%
> {bnI%}nti%>[email protected]@@D.NUMxrel.pres@ N-FLEX-POS-Oblig ;
Lo siento, no hablo castellano :( If you read lttoolbox format, the
first two lines become more or less:
<e> <p> <l>>m>ari</l> <r><s n="af"/><s n="excl"/></r> </p> </e>
<e> <p> <l>>puwan</l> <r><s n="cnjcoo"/></r> <par n="CLIT-puni"/>
</p> </e>
http://wiki.apertium.org/wiki/Category:HFST has some documentation in
various languages on HFST (feel free to contribute =D).
The lexc format is more or less
OUTPUT:INPUT [PARADIGM_NAME];
The optional PARADIGM_NAME refers to a section with the heading
LEXICON PARADIGM_NAME
somewhere in the dictionary (corresponding to <paradigm n="name"> in
lttoolbox).
The @P@, @D@ etc. are more complicated (and have no correspondence in
lttoolbox):
@P.lim.pres@ means: let the 'lim' feature be 'pres' from now on
@D.NUMxrel.pres@ means: only allow this analysis if the 'NUMxrel'
feature is 'pres'
These features are called "flag diacritics" for no good reason. They can
be useful for expressing long-distance relationships.
I don't know what @D.lim@ does, perhaps resets the feature? (I thought
you used @C.lim@ for that.)
--
Kevin Brubeck Unhammer
Sent from my emacs
------------------------------------------------------------------------------
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire
the most talented Cisco Certified professionals. Visit the
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff