Questions tagged [t9]

T9 predictive text technology for cell phones with a numeric keypad.

T-9, which stands for Text on 9 keys, is a patented predictive text technology for mobile phones (specifically those that contain a 3x4 numeric keypad), originally developed by Tegic Communications, now part of Nuance Communications. The patents have expired.

The Wikipedia article T9 (Predictive Text) describes it.

21 questions
42
votes
6 answers

Data structure behind T9 type of dictionary

How does a T9 dictionary work? What is the data structure behind it. If we type '4663' we get 'good' when we press down button we get 'gone' then 'home' etc... EDIT: If the user types in 46 then it should show 'go' and when pressed down arrow should…
anony
  • 1,473
  • 3
  • 13
  • 10
32
votes
8 answers

Prevent Samsung predictive text in HTML form

I have an HTML form with a text input field. As the user types, we do AJAX requests to get predictive text suggestions, based on a list of values in our database. We display that list and the user can select one of them; then we show them the rest…
duncan
  • 31,401
  • 13
  • 78
  • 99
5
votes
3 answers

Smart searching contacts in android

Following This Retrieving a List of Contacts Tutorial in the android developers site, I managed to implement contacts search functionality. Here is my code so far private void retrieveContactRecord(String phoneNo) { try { …
Amanuel Nega
  • 1,899
  • 1
  • 24
  • 42
4
votes
1 answer

Implementing T9 text prediction

I have a T9 dictionary in memory (trie/hash_map). The dictionary contains word-rating pairs, so when a word is picked from dictionary, its rating increments, and the word-rating pair goes up in the word list. Let's say that there is a method to…
sashab
  • 1,534
  • 2
  • 19
  • 36
4
votes
1 answer

How to perform T9 Contact Search by Number in Android

How could I search contacts by number entered from keypad? I think android already implemented the T9 algorithm but how can I use this implementation?
Feras Odeh
  • 9,136
  • 20
  • 77
  • 121
4
votes
1 answer

How to implement T9 dictionary?

How can we implement A dictionary that is used in mobile (which is used when we type A message on mobile phone)? It shows the list of words that can be formed with entered characters. Example: 4663 can be good, gone, home. 467 it shows suggested…
RATHI
  • 5,129
  • 8
  • 39
  • 48
2
votes
1 answer

Wrong output in implementing T9 dictionary in python

I am trying to implement T9 dictionary in python. I am using Trie to implement it. I have this code which creates a Trie from the words in the dictionary and then do a lookup for the pattern import string PHONE_LETTERS =…
user2916886
  • 847
  • 2
  • 16
  • 35
2
votes
1 answer

Predictive text in Richtextbox in vb

I have almost finished with my text editor in Visual basic.. And the last thing I want to add in my project is a sub which will show a Drop-Down menu each time the user adds a letter(character) in the richtextbox..For example when the user types a…
user5292814
2
votes
2 answers

Implement T9 Dictionary using Trie?

I have to implement the T9 Dictionary . Essentially, when I am pressing any of the 9 keys, it should show me the top 5 words that can be started with that combination of keys. If I type '46', it can give 'hotel' or 'good' depending on whether…
Hitesh
  • 79
  • 1
  • 7
1
vote
0 answers

Suppress the default input of a key in Android

I have an edittext where I'm trying to over ride the default input of physical keys to replace with custom input for each key. My code works fine to add the input that I want, but I cannot seem to suppress the default input, which shows up alongside…
sh7411usa
  • 196
  • 1
  • 13
1
vote
2 answers

encrypt with T9 mode for SMS messages

i was working today then i got this idea. I want to make a script that take a plain text and then encrypt it with T9 mode for SMS messages on mobile phone. plain text : Hello Result : 4433555555666 So i created some class like this :
Alex
  • 89
  • 7
1
vote
1 answer

Implementation of a t9 dictionary using trie

In a technical interview i was asked to implement the t9 dictionary. I knew it can be done using tries, but didn't know how to go about it. Could anyone please explain it ? Note: Don't mark it as duplicate due to this, as it doesn't contain any…
1
vote
3 answers

Consolidate nested arrays and erase the subarrays that have been consolidated?

I'm trying to take a bunch of number-word pairs and group the words according to common numbers. I can match the numbers, merge the subarrays that share the number, and erase the first of those subarrays. But when I try to delete the second, I get…
racknuf
  • 444
  • 3
  • 12
0
votes
1 answer

How to resolve this `t9n` translations error when I use its `plural` property?

I am trying to translate some text using t9n library, but I get this error Compiling... Error compiling ICU message for locale en-US: SyntaxError: Expected "=", "}", or identifier but "," found. To debug this set DEBUG_ICU to 'true' when I use…
Abhisar Tripathi
  • 1,569
  • 10
  • 21
0
votes
1 answer

T9 Algorithm too slow

I am trying to implement T9 to my android dialer. But it lags. I checked and generating the list of possible combinations is painless. But I am trying to match using a pattern and I generated the pattern as follows Pattern queryPattern; List
Amanuel Nega
  • 1,899
  • 1
  • 24
  • 42
1
2