marytts-it / marytts

MARY TTS -- an open-source, multilingual text-to-speech synthesis system written in pure java
http://mary.dfki.de
Other
1 stars 3 forks source link

Lexicon lookup sometime is ambiguous #34

Open giuliopaci opened 11 years ago

giuliopaci commented 11 years ago

Current lexicon lookup implementation with POS tags is ambiguous. The token "dell'X" is found in the lexicon because the word "dell'" is in the lexicon with POS tag "X". A solution is to change the code so that a # is always inserted between the word and the POS and that # and \ are escaped with a \ for both the POS and the word.