Y counts as a vowel when removing non-words.

This commit is contained in:
ehouse 2007-01-30 04:53:32 +00:00
parent 839cc6d5dc
commit 973fa3a6ca

View file

@ -23,7 +23,7 @@ LANGFILTER_PRECLIP: tr -d '\r' |
# uppercase all
LANGFILTER_POSTCLIP: | tr [a-zåæø] [A-ZÅÆØ]
# no words not containing a vowel
LANGFILTER_POSTCLIP: | grep '[AEIOUÅÆØ]'
LANGFILTER_POSTCLIP: | grep '[AEIOUYÅÆØ]'
# none with illegal chars
LANGFILTER_POSTCLIP: | grep '^[A-PR-VX-ZÅÆØ]\+$'
# remove duplicates