Note: forwarded message attached.


 
____________________________________________________________________________________
Food fight? Enjoy some healthy debate 
in the Yahoo! Answers Food & Drink Q&A.
http://answers.yahoo.com/dir/?link=list&sid=396545367
--- Begin Message ---
Is it possible to use a hyphen "-" as part of an affix
in the .aff file (in hunspell)? How?

There is a rule in Filipino word formation that when
an affix that ends in a consonant gets affixed on a
word that starts with a vowel, there should be a
hyphen in between. else if the word starts with a
consonant, no hyphen is needed

example: pag-asa ("pag" is an affix, "asa" is the root
word.)
        pagtakbo ("pag" is the affix, "takbo" is the root
word. since the root word starts with a consonant, a
hyphen is not needed)
  
i tried the following code in the .aff file
WORDCHARS -

PFX A Y 2
PFX A 0 pag- [aeiou]
PFX A 0 pag [^aeiou]



and in the .dic file
1
asa/A
takbo/A



Checking it would result
pagtakbo = correct
pag-asa = wrong (with the affix "pag" underlined)

I used 
 openoffice 2.0.3 (with hunspell spellchecker)
 windows XP




  



 
____________________________________________________________________________________
TV dinner still cooling? 
Check out "Tonight's Picks" on Yahoo! TV.
http://tv.yahoo.com/


--- End Message ---
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to