aboSamoor / polyglot

Multilingual text (NLP) processing toolkit
http://polyglot-nlp.com
Other
2.31k stars 337 forks source link

Can't transliterate from spanish #86

Open alonsopg opened 7 years ago

alonsopg commented 7 years ago

I am trying to transliterate from English to Spanish:


from polyglot.text import Text

​

blob = """We will meet at eight o'clock on Thursday morning."""

text = Text(blob)

​

for x in text.transliterate("es"):

    print(x)

​

​

we
will
meet
at
eight
o'clock
on
thursday

However as you can see in the above example it doesn't work. Any idea of why this is happening?.

DavidGOrtega commented 7 years ago

Yep, this also happens with other languages like Italian