| | |
T9 Predictive input and dictionary
Please support our C++ advertiser: Intel Parallel Studio Home
![]() |
•
•
Join Date: Aug 2007
Posts: 1
Reputation:
Solved Threads: 0
Hi Guys
1)I am planning to write a simple implementation of T9 , as seen in nokia phones.
Could someone suggest an efficient way to go about this ??
2)I am also planning to write the code for a english dictionary. What is the most efficient way to store and retrieve the data ??
Thanks in advance
Subramanyam
1)I am planning to write a simple implementation of T9 , as seen in nokia phones.
Could someone suggest an efficient way to go about this ??
2)I am also planning to write the code for a english dictionary. What is the most efficient way to store and retrieve the data ??
Thanks in advance
Subramanyam
•
•
Join Date: Dec 2006
Posts: 1,089
Reputation:
Solved Threads: 164
> am planning to write a simple implementation of T9 , as seen in nokia phones.
Could someone suggest an efficient way to go about this ??
http://en.wikipedia.org/wiki/Trie
http://www.csse.monash.edu.au/~lloyd...Tree/PATRICIA/
Could someone suggest an efficient way to go about this ??
http://en.wikipedia.org/wiki/Trie
http://www.csse.monash.edu.au/~lloyd...Tree/PATRICIA/
> 1)I am planning to write a simple implementation of T9 , as seen in nokia phones.
Perhaps not the most efficient way but I guess you could do something like.
1. Go through every word in the english dictionary and convert it to it's numeric equivalent.
i.e.
Then when the user enter a word on their keypad, you would use the numeric equivalents and do a letter frequency count. Those words that match the exact letter frequency count you could pair off with the english words.
You could use the '#' key to toggle through the various options.
Perhaps not the most efficient way but I guess you could do something like.
1. Go through every word in the english dictionary and convert it to it's numeric equivalent.
i.e.
C++ Syntax (Toggle Plain Text)
abc = 1 def = 2 ghi = 3
Then when the user enter a word on their keypad, you would use the numeric equivalents and do a letter frequency count. Those words that match the exact letter frequency count you could pair off with the english words.
You could use the '#' key to toggle through the various options.
![]() |
Similar Threads
- Essential PocketPC Freeware (Cellphones, PDAs and Handheld Devices)
- Dictionary -- states and their capitals (Python)
- Chinese Dictionary (Python)
- Trying a leet to human dictionary: Help! (Python)
- Help with input (C)
Other Threads in the C++ Forum
- Previous Thread: string searching
- Next Thread: functions using strings and arrays
| Thread Tools | Search this Thread |
api application array arrays based beginner binary bitmap c++ c/c++ calculator char char* class classes coding compile compiler console conversion convert count data database delete desktop developer directshow dll dynamiccharacterarray email encryption error file forms fstream function functions game generator getline graph homeworkhelper iamthwee ifstream input int integer java lib linux list loop looping loops map math matrix memory multiple newbie news node number numbertoword output parameter pointer problem program programming project proxy python random read recursion recursive reference return rpg sorting string strings struct template templates text tree url vector video visual visualstudio win32 windows winsock word wordfrequency wxwidgets






