cdec icon indicating copy to clipboard operation
cdec copied to clipboard

tokenize-anything.sh on Italian

Open mdtux89 opened this issue 9 years ago • 2 comments

Hi, I just wanted to let you know an error the tokenize-anything.sh script makes for Italian sentences, that is it doesn't split "C'è" ("There's").

mdtux89 avatar Jul 18 '15 20:07 mdtux89

This also applies to other contractions whose second part is "'è".

nschneid avatar Jul 25 '15 22:07 nschneid

Examples of other contractions that should be split, but aren't:

l'uomo all'interno nell'obligo

These involve articles. Before a vowel, definite articles are spelled l'. Combining with prepositions yields all', dall', dell', nell', sull'. The feminine indefinite article is realized as un' before a vowel.

nschneid avatar Jul 25 '15 23:07 nschneid