Notices


Poll: Do you want a standard qwerty in landscape mode?
Poll Options
Do you want a standard qwerty in landscape mode?

Reply
Thread Tools
Posts: 401 | Thanked: 724 times | Joined on May 2010 @ Italy
#41
Originally Posted by DanielW View Post
Ok I got that. But you can already show words not fully written.

And about using a DB: That may help. Though I am not total sure if it well be fast enough for as fast as it could be.

Lets say you use a sqlite db (anything else wouldn't make sense I believe) you would at best need on query per keypress.

But then what db schema would that need? Obviously not just the list of all words in one big table.

You could just use the DB for user added words and for the rest you can use an index tree in memory.
IMHO there are 2 ways:
1) db: im quite close to finish a test implementation to test the speed. Bigger advantage is obviously nothing in memory (perhaps a little cache with more common words).
And with this solution i can add counter,boolean and what i need to ensure a reasonable order of the words.
2)multihashmap: this is the actual implementation.An improvement could be a "lazy-load": substitute words in it with pointers at the position of the words in the file, and brings the strings in memory only when pointers are resolved for inserting the word in the SMS. But in this way implementing a counter becomes more hard: not impossible but more hard and saving back the dictionaries means the merge between a file and a hashmap.

I'm not sure what you mean with:
"You could just use the DB for user added words and for the rest you can use an index tree in memory" but
starting dictionary are enough big to suppose that added words by users are not so many to justify a db.
IMHO i don't think that a tree is the solution:
2 nodes requires at least one pointer for moving in the tree (two if you want move back). key are 9: so each node have 9 pointers (or 18). medium length of words ( for examples) is 7 character. It brings to something like 9^7 > 4.782.969 extra pointers, only for moving in the tree!!! (that becomes 9milions for moving in two directiones)
 
Posts: 401 | Thanked: 724 times | Joined on May 2010 @ Italy
#42
Hello guys!
I'm quite close to release 0.2, but i need your help: I constructed dictionaries file based on some text analysis but i collected also a lot of junk/wrong words. I did a clean based on big list of words but also some correct word was filtered.

Now i'm posting files with purged words. Is there someone that wants delete wrong words from those files and then repost it here, please?

You can also do it only on a part of the file, writing the range of lines checked.

In each line there are a number and a word. If you discover a wrong word delete all the line.

For example:
123 hello
12 hllo
345 was

becomes:
123 hello
345 was

File should be codec in UTF-8.
PS delete also all words with symbols if any and "old" words.



Thank to you all!!!

EDIT: done in other way...

Last edited by realsportcars; 2010-06-26 at 19:57.
 

The Following User Says Thank You to realsportcars For This Useful Post:
Posts: 169 | Thanked: 83 times | Joined on Dec 2009
#43
I don't know if I can help with the dictionaries at the moment but just wanted to say this will be a very useful app once it's fully functional!
 
Posts: 401 | Thanked: 724 times | Joined on May 2010 @ Italy
#44
Originally Posted by col37400 View Post
I don't know if I can help with the dictionaries at the moment but just wanted to say this will be a very useful app once it's fully functional!
Thank you
I did a lot of improvement since 0.1 and I hope the new version is very more usable than the first
 
fcrochik's Avatar
Posts: 722 | Thanked: 1,223 times | Joined on Apr 2010 @ USA
#45
I would like to offer as an option for my application to use fastsms to send sms. Do you plan or have already implemented any dbus interfaces that I can use? I would just call a dbus method passing the phone number as a parameter. It is quite easy to implement the interface on qt.
thanks
Felipe
__________________

My maemo work:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
For Harmattan:
GeePS - native UI around google maps - GApp - access to optimized mobile "google apps".
Shutdown - shutdown and reboot with one click - QuickCall - one click call, skypeout and google voice integration using dial tones.
WakeOnLan - wake computers on your local network.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
For Maemo/N900:
GApp - access to optimized mobile "google apps". - MobWebMail: browser optimized to access multiple gmail accounts
MyContacts: 75 Contacts on your desktop, ring tones per group and more - GeePS: native front-end for google maps
Macuco2 : web browser to access web sites optimized for the iphone - WakeOnLan: wake up computers on your local network
dbBrowser: Simple application to browse sqlite databases
 
Posts: 401 | Thanked: 724 times | Joined on May 2010 @ Italy
#46
Originally Posted by fcrochik View Post
I would like to offer as an option for my application to use fastsms to send sms. Do you plan or have already implemented any dbus interfaces that I can use? I would just call a dbus method passing the phone number as a parameter. It is quite easy to implement the interface on qt.
thanks
Felipe
Hello! No, i haven't implemented a dbus interface and i don't know how do it. can you point me on some documents about it?
What about implement your app (also) as a standard library for fastsms?
 
eitama's Avatar
Posts: 702 | Thanked: 334 times | Joined on Feb 2010 @ Israel.
#47
Originally Posted by realsportcars View Post
Hello! No, i haven't implemented a dbus interface and i don't know how do it. can you point me on some documents about it?
What about implement your app (also) as a standard library for fastsms?
Hi, I 2nd Fcrochiks request (:
horizontal-call can also benefit from that
__________________
| Developer of Horizontal-Call - Call your contacts, fast! |
| Reverse SSH - access your N900 from anywhere, anytime |
| Using Samsung Galaxy S GT-i9000 and Nokia N900 |
| DonateMe - If you feel I helped you in a very good way, feel free to donate |
 
fcrochik's Avatar
Posts: 722 | Thanked: 1,223 times | Joined on Apr 2010 @ USA
#48
Originally Posted by realsportcars View Post
Hello! No, i haven't implemented a dbus interface and i don't know how do it. can you point me on some documents about it?
What about implement your app (also) as a standard library for fastsms?
It is really simple using qt.... I will send you some code/instructions later today

I have already implemented a dbus interface that will allow your application to open my contacts application. Assuming you are going to implement the dbus interface to allow me to call your application with one phone number as an argument the whole process will be seamless.
__________________

My maemo work:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
For Harmattan:
GeePS - native UI around google maps - GApp - access to optimized mobile "google apps".
Shutdown - shutdown and reboot with one click - QuickCall - one click call, skypeout and google voice integration using dial tones.
WakeOnLan - wake computers on your local network.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
For Maemo/N900:
GApp - access to optimized mobile "google apps". - MobWebMail: browser optimized to access multiple gmail accounts
MyContacts: 75 Contacts on your desktop, ring tones per group and more - GeePS: native front-end for google maps
Macuco2 : web browser to access web sites optimized for the iphone - WakeOnLan: wake up computers on your local network
dbBrowser: Simple application to browse sqlite databases
 
fcrochik's Avatar
Posts: 722 | Thanked: 1,223 times | Joined on Apr 2010 @ USA
#49
Originally Posted by realsportcars View Post
Hello! No, i haven't implemented a dbus interface and i don't know how do it. can you point me on some documents about it?
What about implement your app (also) as a standard library for fastsms?
Just for "fun" and to see if I can get into the habit of, I created a quick and dirty pretend-to-be-tutorial @ http://maemo.crochik.com/qt-developm...dbus-interface

All that you probably will need is on the bottom of the page (links to nokia tutorials) but, if nothing else, it will be helpful to me to have it documented for when I forget...

I will have to deploy a new version of the application that supports the dbus signal and, depending on when you get yours ready, that can start yours. Please keep me posted on your progress and let me know if you need any help.
__________________

My maemo work:
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
For Harmattan:
GeePS - native UI around google maps - GApp - access to optimized mobile "google apps".
Shutdown - shutdown and reboot with one click - QuickCall - one click call, skypeout and google voice integration using dial tones.
WakeOnLan - wake computers on your local network.
------------------------------------------------------------------------------------------------------------------------------------------------------------------------
For Maemo/N900:
GApp - access to optimized mobile "google apps". - MobWebMail: browser optimized to access multiple gmail accounts
MyContacts: 75 Contacts on your desktop, ring tones per group and more - GeePS: native front-end for google maps
Macuco2 : web browser to access web sites optimized for the iphone - WakeOnLan: wake up computers on your local network
dbBrowser: Simple application to browse sqlite databases
 

The Following User Says Thank You to fcrochik For This Useful Post:
Posts: 401 | Thanked: 724 times | Joined on May 2010 @ Italy
#50
Originally Posted by fcrochik View Post
Just for "fun" and to see if I can get into the habit of, I created a quick and dirty pretend-to-be-tutorial @ http://maemo.crochik.com/qt-developm...dbus-interface

All that you probably will need is on the bottom of the page (links to nokia tutorials) but, if nothing else, it will be helpful to me to have it documented for when I forget...

I will have to deploy a new version of the application that supports the dbus signal and, depending on when you get yours ready, that can start yours. Please keep me posted on your progress and let me know if you need any help.
thank you a lot!!! i will read your tutorial asap and try to implement it
i will write my progress/question here. thank you again!

EDIT: real good tutorial! implement dbus signal manage seems to be really easy. tomorrow i will do some try and after i will post here what you need

Last edited by realsportcars; 2010-06-24 at 00:11.
 
Reply


 
Forum Jump


All times are GMT. The time now is 16:47.