Sindhuja Reddy
<[email protected]> writes:

> Hello,
> Here I am attaching the links to the screenshots of the output of each
> module.
>
> Regards,
> Sindhuja
>
> http://imgur.com/LVg4eDS
> http://imgur.com/mjLpHOM
> http://imgur.com/hlpu8OM
> http://imgur.com/mScUQDT
> http://imgur.com/qqdcMhU
> http://imgur.com/PhHiaO9
> http://imgur.com/ZXA1CUO
> http://imgur.com/o9HWAMz

So after transfer you have

    ^walk<vblex><tv><pres><p1><mfn><pl>$

This won't match anything in the english dictionary. You have to change
the tags to 

    ^walk<vblex><pres>$

in your transfer file.

Typically, you can do this by doing something like

                <lu>
                  <clip pos="1" side="tl" part="lemh"/>
                  <clip pos="1" side="tl" part="a_verb"/>
                  <clip pos="1" side="tl" part="temps"/>
                  <clip pos="1" side="tl" part="lemq"/>
                </lu>

(instead of <lu><clip pos="1" side="tl" part="whole"/></lu> which would
output all tags). You've also got to make sure you've got the right
def-attr's, e.g

    <def-attr n="a_verb">
      <attr-item tags="vblex"/>
      <attr-item tags="vbhaver"/>
      <attr-item tags="vbser"/>
      <attr-item tags="vbmod"/>
      <attr-item tags="vaux"/>
    </def-attr>
    <def-attr n="temps">
      <attr-item tags="pp"/>
      <attr-item tags="pprs"/>
      <attr-item tags="pres"/>
      <attr-item tags="past"/>
      <attr-item tags="ger"/>
      <attr-item tags="inf"/>
    </def-attr>


– although you'll have to get a bit more complex to handle a form like
"walks" which has person and number tags in English. Take a look at
http://wiki.apertium.org/wiki/A_long_introduction_to_transfer_rules for
how to do <choose><when>


-- 
Kevin Brubeck Unhammer

GPG: 0x766AC60C

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to