On 17 September 2011 17:26, Sofia Flores <[email protected]> wrote:
> Hello
>
> I want to build a morphological parser for  bribri (Amerindian
> language from Costa Rica). I have tried lttoolbox, but my question is
> if is possible to  build aligned morphological dictionaries,
> so the correspondence between the surface form and the lexical form of
> a word is aligned at the character level, ej:
>
> (h,h) (o,o) (u,u) (s,s) (e,e) (s,<n>), (θ,<pl>)
>
> instead of
>
> houses, house<n><pl>

Sure:

<e>
  <p><l>h</l><r>h</r></p>
  <p><l>o</l><r>o</r></p>
  <p><l>u</l><r>u</r></p>
  <p><l>s</l><r>s</r></p>
  <p><l>e</l><r>e</r></p>
  <p><l></l><r><s n="n"/></r></p>
  <p><l>s</l><r><s n="pl"/></r></p>
</e>

...but that's extremely inefficient, and the task is performed by
lttoolbox internally, with the added bonus that it finds the optimal
alignment itself. The <i> element effectively says 'each contained
character maps to itself', which is usually what you want.

-- 
<Sefam> Are any of the mentors around?
<jimregan> yes, they're the ones trolling you

------------------------------------------------------------------------------
BlackBerry&reg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to