El dj 10 de 04 de 2014 a les 09:47 -0700, en/na Rafi Kamal va escriure:
> Hi
> 
> I was trying to write a simple transfer rule like this:
> 
> Input: verb<vblex><prft>
> Output: have<vbhaver><pres>
> 
> Input: verb<vblex><ppst>
> Output: have<vbhaver><past> 
> 
> So all it does is to create a new lexical unit 'have' and change prft to 
> pres, and ppst to past.
> 
> But unfortunately, instead of changing prft to pres / ppst to past, it is 
> simply deleting the attribute prft / ppst. So I am getting output like this: 
> have<vbhaver>
> Can you please help me find out what I've done wrong? My code is here: 
> http://pastebin.com/cHtvzUyV
> 
> Regards

You haven't defined "past" as one of the possible values of the "prfct"
def-attr.  It isn't "deleting", it is "not outputting because no pattern
matches" :)

Fran


------------------------------------------------------------------------------
Put Bad Developers to Shame
Dominate Development with Jenkins Continuous Integration
Continuously Automate Build, Test & Deployment 
Start a new project now. Try Jenkins in the cloud.
http://p.sf.net/sfu/13600_Cloudbees
_______________________________________________
Apertium-stuff mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to