![]() |
Re: Advanced text entry on Sailfish (Swype or similar)
Quote:
|
Re: Advanced text entry on Sailfish (Swype or similar)
Quote:
|
Re: Advanced text entry on Sailfish (Swype or similar)
Quote:
I did a comparison with the English language, this is what I see: Code:
nico@hendrix:~/aspell/aspell6-it-2.4-20070901-0$ aspell -l en dump master | aspell -l en expand | wcYou seem to know a lot of this. Have you got any idea of what can be done to keep the dictionary smaller? I've been searching for aspell alternative dictionaries with no luck... Thanks. I surely hope we don't need to rent a Cray cluster to generate this dict... :) |
Re: Advanced text entry on Sailfish (Swype or similar)
As discussed with spidernik84, the Italian aspell dictionary contains 34M words (with affix expansion support that was added for Spanish).
Try this : Code:
aspell -l it dump master | aspell -l it expand | wc -wEven if we fix the corpus reader script the keyboard has not been built to work with this volume: My largest language (French) contains ~100k words (and only 45k used by the word prediction engine, others are in "best effort" mode). From a quick look I see the following causes for the large size:
Spidernik84's text corpus only contains 315k words (only counting those which are also known by aspell), so my short term suggestion is to add an option to provide a (smaller) dictionary instead of using aspell's one or to trust the input corpus to be flawless. What do you think ? Edit: ouch, spidernik84 was faster with wc:) |
Re: Advanced text entry on Sailfish (Swype or similar)
Quote:
|
Re: Advanced text entry on Sailfish (Swype or similar)
Quote:
I never heard those words before :) I can tell you for sure that the form dall' sull' is surely correct, but a bit too formulaic. Also, those are "articulated prepositions" in front of nouns, hence should be considered on their own. Example: dall'anima dall'oceano The nouns are "anima" and "oceano", while "dall'" is the preposition. That does not justify creating a word for each preposition+word combination! There are additional rules, naturally: for instance, that form is only used with words starting with vocals... Good that you are thinking of handling this situation. As for the capitalization: I would not consider common to have capitalised variants of words. Most words are either capitalised or not, so I'd prioritise lower case words when multiple variants are found. Quote:
It's worth a shot, I'll see what happens. Thanks for your help. |
Re: Advanced text entry on Sailfish (Swype or similar)
Quote:
2) Yes, providing an alternative dictionary is good. Maybe just keep the dict if its there? Instruct to build clean otherwise? Assuming they are flawless is not too bad either since people still write a lot of stuff which is not covered by the aspell dictionary. |
Re: Advanced text entry on Sailfish (Swype or similar)
sorry guys, i dont know how many of you are italian, but i am.
Dall' Sull' and other words could be just inserted as single words. When you write sentences you actually left a space between preposition and other word. so i think it would be better to have two words splitted: dall/dall' (showing both option when swyped d-a-l-l ) and anima for example. However sull' Acclimatatele for example doesnt make sense. Sull is a preposition that preceed some noun and means over/on/regarding. for example Sull' Oceano. it means literally "over the ocean". the ' is inserted just becaus Oceano starts with a vocal letter! And however acclimatatele is such a very unusual word in common speech. "acclimatare" means "to get habitued to some climate condition" (for example, when you are out in the cold winter and come into your home, you spend your first minutes just to "get used" to the hotter condition). "Acclimatate " is one of the possible conjugations (participio passato) of this verb when referring to female &plural nouns (a group of women for example). "AcclimatateLE" it literally means "make them acclimatized/ambiented" so i mean, those are words not very frequently used in speech. sorry for my bad teacher skills. |
Re: Advanced text entry on Sailfish (Swype or similar)
Quote:
I am pretty confident there should be no space between article and nouns and articulated prepositions and nouns. This is the only input I can give :) |
Re: Advanced text entry on Sailfish (Swype or similar)
Ciao a voi,ragazzi :) e grazie tante per il vostro impegno!
i know, but i explained mayself badly. When you write a sentence : example : il gatto e' sull'Amaca i swipe in this way: .. I-L..G-A-T-T-O... E'.. S-U-L-L(') ..A-M-A-C-A is not comfortable to swipe S-U-L-L-'-A-M-A-C-A because we consider them as separated words when we think about that. Sull'Amaca is considered just like Sul Letto, as two separated words, even if you formally shouldnt leave the space. and moreover in common written language (included SMS,chat and other stuff ) is really the same to leave space between preposition with ' and the other following word. i dont know how to explain better i hope it is understandable. |
| All times are GMT. The time now is 23:46. |
vBulletin® Version 3.8.8