Autocorrect does not work properly in Italian

Bug #1450452 reported by Davide Alberelli
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
ubuntu-keyboard
New
Undecided
Unassigned
ubuntu-keyboard (Ubuntu)
New
Undecided
Unassigned

Bug Description

Autocorrect in English works amazingly, but in Italian it definitely does not.

In Italian it happens often that the first hint is exactly the mistyped word and there is no other hint, so you have to cancel all the word back to the error and start again (and we all know how painful this can be if you miss it and then you have to come back with the cursor).

To give a practical example to you, let's pick two words of common use with the same length:
1. in English "Highqays", correctly corrected in "Highways"
2. in Italian "Facviamo", that does not get corrected to "Facciamo" (tr.: we make), and indeed does not get corrected at all (there are no hints shown).

Revision history for this message
Riccardo Padovani (rpadovani) wrote :

Another big issue with italian suggestions is that it doesn't suggest right word with accent after you add the letter without accent.

E.g.: 'Perché' (why):
While there is only 'perch' wrote there is the rigth suggestion, but as soon as you add 'e' (so you have perche instead of perché) there isn't any suggestion, but I expect 'perché' as suggestion

Revision history for this message
Davide Alberelli (dadexix86) wrote :

And the same problem is also with apostrophe, both at the end and in the middle.

The classical example for a word with an apostrophe at the end is "po'".
There is no "po" in Italian, just "Po" (the river, with capital P, very seldom used) and the adverb "po'" (with the apostrophe at the end, very often used).

The classical examples for words with an apostrophe in the middle are "l'ha", "l'ho" (that are contractions of a pronoun "lo" and a verb "ha, ho" (to have) - these are easy, since there are no another words "lho" o "lha" that can be confused with) or the -always a problem for children and teenegers- "c'è", "c'erano" and "n'è", abbreviations of "ci è" (=there is), "ci erano" (=there were) and "ne è" (don't know how to literally translate it).

It is clear that if I write "ce" or "ne" I cannot assume that the syntactical analysis of the autocorrector goes down to distinguish between the following examples

1. "ce ne" ("Ci sono delle mele? Sì, ce ne sono cinque" = "Are there apples? Yes, there are 5"),
2. "c'è" and "ce n'è" ("C'è bella birra in frigo? Sì, ce n'è" = "Is there beer in the fridge? Yes, there is"),
3. "né" ("Non ci sono né acqua né vino" = "There are neither water nor wine")
4. "c'erano" and "cerano" ("C'erano gli amici di Alice che cerano le auto" = "There were the friends of Alice that wax the cars")
and we can go on and on a lot in the same style...

What I am saying is that if I type "ce" I would expect the hints to give me the possibility to choose between "ce" and "c'è", if I write "ne" between "ne", "n'è" and "né", if write "passero" between "passero" and "passerò" (future from "passare"=to pass), but if I write "lho" or "po" it should automatically go to "l'ho" and "po'" respectively.

I do not know how to solve the problem, apparently it is doable for the apostrophe ("its" and "it's" in English is the classical example), but for the accents it might be messier.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.