Android @ MoDaCo: Acer Liquid Dictionary - Autocomplete - Android @ MoDaCo

Jump to content

Galaxy Nexus Review
We put the Galaxy Nexus and Ice Cream Sandwich through their paces.

Google Music Launch
Google bring Music out of beta and launch their music store.

MoDaCo Plus / Ad Free
Hate ads? Want cool stuff? Sign up for a MoDaCo Plus / MoDaCo Ad Free account with Online Kitchen access!

Close
Open
Close
  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

Acer Liquid Dictionary - Autocomplete Lack of dictionary in Acer Liquid causes no autocomplete
-----


#1 User is offline   JackTheMan18 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 27
  • Joined: 09-December 09
  • Devices:HTC Magic/Acer Liquid A1/N1

Posted 17 December 2009 - 02:45 PM

Has anyone (especially those who have used other Android phones before) noticed that the Liquid doesn't do autocomplete?

Is this because Acer forgot to ship it with a dictionary?

Can someone who has root check if there is a dictionary?

0

Sponsored Links


#2 User is offline   00sully 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 17
  • Joined: 16-December 09
  • Devices:Acer Liquid

Posted 17 December 2009 - 03:53 PM

yep I can confirm this - thought it was a bug in mine but Acer obviously left out a decent dictionary - it actually does autocomplete a VERY SMALL portion of words - like you type "he" and it will sugges "he'll" but not "hello" there are a limited amount i've come across - maybe 3 in total!!! adding user words works so the keyboard does actually work.

we can hope acer fix this in a future update. in the meantime I recomment using the HTC_IME keyboard released over at xda developers!! its a little buggy on the liquid - See post below on screen resolution problem :/ but its worth it ;)

This post has been edited by 00sully: 17 December 2009 - 03:54 PM

0


#3 User is offline   goa200 

  • Diehard
  • PipPipPipPip
  • Group: Members
  • Posts: 336
  • Joined: 08-December 09

Posted 17 December 2009 - 04:12 PM

View Post00sully, on Dec 17 2009, 16:53, said:

yep I can confirm this - thought it was a bug in mine but Acer obviously left out a decent dictionary - it actually does autocomplete a VERY SMALL portion of words - like you type "he" and it will sugges "he'll" but not "hello" there are a limited amount i've come across - maybe 3 in total!!! adding user words works so the keyboard does actually work.

we can hope acer fix this in a future update. in the meantime I recomment using the HTC_IME keyboard released over at xda developers!! its a little buggy on the liquid - See post below on screen resolution problem :/ but its worth it ;)


link??
and what screenshots?

0


#4 User is offline   JackTheMan18 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 27
  • Joined: 09-December 09
  • Devices:HTC Magic/Acer Liquid A1/N1

Posted 17 December 2009 - 04:14 PM

View Post00sully, on Dec 17 2009, 10:53, said:

yep I can confirm this - thought it was a bug in mine but Acer obviously left out a decent dictionary - it actually does autocomplete a VERY SMALL portion of words - like you type "he" and it will sugges "he'll" but not "hello" there are a limited amount i've come across - maybe 3 in total!!! adding user words works so the keyboard does actually work.

we can hope acer fix this in a future update. in the meantime I recomment using the HTC_IME keyboard released over at xda developers!! its a little buggy on the liquid - See post below on screen resolution problem :/ but its worth it ;)


Paul: Can you please notify Acer of this bug? (and others, I'm sure!)
I don't even know how/where to report it to them!
No website, no support, no feedback, no....

0


#5 User is offline   00sully 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 17
  • Joined: 16-December 09
  • Devices:Acer Liquid

Posted 17 December 2009 - 06:29 PM

I assume you mean link for the HTC_IME??

http://forum.xda-dev...ad.php?t=567294

oh and it tends to truncate the screen in portrait mode after you've used the HTC keyboard to type with - simple to fix tho a quick press of search button then back button and you are in business!

see here for details: http://android.modaco.com/content/acer-liq...reen-truncated/

the keyboard does work - you need to download ASTRO file manager or some such to install it tho - load it to SD card then use astro to insall it ;)

the android keyboards autocomplete is useless - its not really a bug tho just a missing dictionary ;)

This post has been edited by 00sully: 17 December 2009 - 06:31 PM

0


#6 User is offline   three_pineapples 

  • Enthusiast
  • PipPipPip
  • Group: Members
  • Posts: 213
  • Joined: 11-December 09
  • Devices:Acer Liquid, Nexus One

Posted 17 December 2009 - 10:40 PM

shouldn't there be some way to add a dictionary? I mean we can add words ourselves, but i don't feel like typing the whole dictionary. There has to be a way to mass add words surely...

Posted Image
0


#7 User is offline   dsjr2006 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 12
  • Joined: 30-March 08
  • Location:Los Angeles
  • Devices:Samsung Captivate SGH-I897
  • Twitter:@dwinsmith

Posted 25 December 2009 - 01:38 PM

There has got to be a way to add a dictionary.... anyone?

0


#8 User is offline   setomoto 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 8
  • Joined: 19-December 09
  • Devices:Acer Liquid

Posted 25 December 2009 - 09:21 PM

yeah it's pretty dumb that the autocomplete function just keeps advertising the OS itself when i type "and" and then it fixes it to spell out "Android"

0


#9 User is offline   daniele8dj 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 1
  • Joined: 26-December 09
  • Devices:Acer Liquid

Posted 26 December 2009 - 01:20 PM

View Postsetomoto, on Dec 25 2009, 22:21, said:

yeah it's pretty dumb that the autocomplete function just keeps advertising the OS itself when i type "and" and then it fixes it to spell out "Android"


i fixed that for the language of my country, f u can provide me an latinIME.apk from a magic or hero or other android device with a fully working dictionary i can fix it, it's pretty simple, but it needs root acces to pull/push apk in /system folder..

0


#10 User is offline   lucian785 

  • Regular
  • PipPip
  • Group: Members
  • Posts: 56
  • Joined: 16-August 05
  • Devices:Liquid by Acer

Posted 01 January 2010 - 10:49 AM

Is there any other keyboard like the Htc one?

This post has been edited by lucian785: 01 January 2010 - 11:00 AM

0


#11 User is offline   saquib 

  • Regular
  • PipPip
  • Group: MoDaCo Ad Free
  • Posts: 104
  • Joined: 07-November 03

Posted 01 January 2010 - 02:32 PM

Using betterkeyboard, works great. Search in the market.

Typed this message using it. Auto corrects and dictionary seems complete.

View Postlucian785, on Jan 1 2010, 10:49, said:

Is there any other keyboard like the Htc one?

0


#12 User is offline   greves 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 13
  • Joined: 05-January 10
  • Devices:Acer Liquid A1

Posted 05 January 2010 - 05:47 AM

Hey this problem has been bugging me for a bit too, and I was looking around the android dev docs to see what I could find. Should be pretty straightforward for any programmers on here to write up a little app as android provides a method to add words to the dictionary:

http://developer.android.com/reference/and...nary.Words.html

I would even be willing to make a list if necessary from something like this: http://en.wiktionary.org/wiki/Wiktionary:F...y_lists#English

Then I could just note the frequency of each one which I notice is a parameter for the UserDictionary.Words.addword() function. Let me know if you're interested in doing this... I'd be willing to help but not really that experienced a programmer (I have the Android SDK and stuff installed already though).

greves

This post has been edited by greves: 05 January 2010 - 05:50 AM

0


#13 User is offline   three_pineapples 

  • Enthusiast
  • PipPipPip
  • Group: Members
  • Posts: 213
  • Joined: 11-December 09
  • Devices:Acer Liquid, Nexus One

Posted 05 January 2010 - 08:44 AM

I tried making a program to add a word to the dictionary...it failed :) It just force closes.

If anyone has a suggestion as to what i'm doing wrong feel free to let me know. I'm competent in coding, i just don't have the time to spend 5 hours figuring out how to program for android when someone else could tell me in 5 minutes! So if someone solves the problem, i've already found a list of dictionary words so it would just be a matter of reading in the list and looping through the call to add the word to the dictionary!

package com.example.HelloAndroid;

import android.app.Activity;
import android.os.Bundle;
import android.provider.UserDictionary;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.TextView;

public class HelloAndroid extends Activity implements OnClickListener {
   /** Called when the activity is first created. */
   @Override
   
	protected void onCreate(Bundle savedInstanceState) {

	   super.onCreate(savedInstanceState); 
	   Button button = new Button(this);
		button.setText("Click Me");
		button.setOnClickListener(this);
		//setContentView(button);
	   //TextView tv = new TextView(this);
	   //tv.setText("Hello, Android");
	   setContentView(button);
	}
	
	// Implement the OnClickListener callback
	public void onClick(View v) {
	  // do something when the button is clicked
	
	   //UserDictionary.Words.addWord(getApplicationContext(), "hello", 1, UserDictionary.Words.LOCALE_TYPE_CURRENT);
		UserDictionary.Words.addWord(this, "what", 3, UserDictionary.Words.LOCALE_TYPE_CURRENT);
   
   }
}

Posted Image
0


#14 User is offline   dsjr2006 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 12
  • Joined: 30-March 08
  • Location:Los Angeles
  • Devices:Samsung Captivate SGH-I897
  • Twitter:@dwinsmith

Posted 05 January 2010 - 08:54 AM

Is it not easier to just get the dictionary from an Android device that has it??

0


#15 User is offline   three_pineapples 

  • Enthusiast
  • PipPipPip
  • Group: Members
  • Posts: 213
  • Joined: 11-December 09
  • Devices:Acer Liquid, Nexus One

Posted 05 January 2010 - 11:17 AM

I figured out what i did wrong. I failed to set the correct permissions in the manifest file!
So when i find time, i'll try and write an app :)

Posted Image
0


#16 User is offline   greves 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 13
  • Joined: 05-January 10
  • Devices:Acer Liquid A1

Posted 05 January 2010 - 04:15 PM

So I just finished writing my little app with some help from three pineapples code.

This app is just a button that you press and it will fill your user dictionary with the 10,000 words found in those word lists I posted above, sorted by frequency. It takes a couple of minutes to run and there is no indication that it's doing anything but just give it a bit and when it turns gray again you can check your user dictionary to make sure it worked and then uninstall/delete the app as it serves no other purpose.

To use it just unzip / extract the .apk, then plug in your phone to the computer via USB, copy the file to your sdcard, and install it. It requests some access to your phone or whatever but there's nothing in the code as you can plainly see:

I'll try to add a counter / progress bar and a delete function if you want to clear your user dictionary at some point, but no guarantees.

Anyone can feel free to steal this code / fix it up / put it up on the market for free :)

Thanks,
greves

package com.greves.userdictionarywordlist;

import android.app.Activity;
import android.os.Bundle;
import android.provider.UserDictionary;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class UserDictionaryWordlist extends Activity implements OnClickListener {
	/** Called when the activity is first created. */
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		Button button = new Button(this);
		button.setText("Click me");
		button.setOnClickListener(this);
		setContentView(button);
	}
	
	public void onClick(View v) {
		try {
			BufferedReader wordlist = new BufferedReader(new InputStreamReader(getAssets().open("wordlist.txt")));
			String word = null;
			// start with the most common words freq = 255
			int freq = 255;
			int freqCount = 0;
			// go down 1 level of frequency every 40 words = 10,000 words in the list
			int freqDivision = 40;
			while ((word = wordlist.readLine()) != null) {
				UserDictionary.Words.addWord(this, word, freq, UserDictionary.Words.LOCALE_TYPE_CURRENT);
				freqCount++;
				if (freqCount == freqDivision) {
					freq--;
					freqCount = 0;
				}
			}
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
	}
}

Attached File(s)


0


#17 User is offline   pete.major 

  • Regular
  • PipPip
  • Group: MoDaCo Ad Free
  • Posts: 129
  • Joined: 26-August 03
  • Location:London, UK
  • Devices:HTC Desire

Posted 05 January 2010 - 10:41 PM

Very interesting!

What's the purpose of the "frequency" value, do you know?

---------------------
Currently:
HTC Desire
Previously:
Acer A1 Liquid,
iPhone 3G, HTC TyTN II,
HTC TyTN, XDA Mini S,
XDA IIi, SPV C500,
SPV E200, SPV E100
---------------------
0


#18 User is offline   three_pineapples 

  • Enthusiast
  • PipPipPip
  • Group: Members
  • Posts: 213
  • Joined: 11-December 09
  • Devices:Acer Liquid, Nexus One

Posted 06 January 2010 - 12:00 AM

frequency is how often the word is used in normal text/speech.

I think you should rewrite your code to use this: http://www.bckelk.uk...words/wlist.zip
its a 60,000 word list with frequency values :)
The licence for the wordlist is also open source!

Posted Image
0


#19 User is offline   tomdotcom 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 37
  • Joined: 22-April 07
  • Location:Hong Kong
  • Devices:Acer Liquid A1

Posted 06 January 2010 - 01:46 AM

installing now... absolute life saver and a bit funny to see how "Acer" is not really trying to save their reputation by offering low quality products but somehow "forgetting" to add words into the dictionary

Many thanks for your hardwork!

0


#20 User is offline   greves 

  • Newbie
  • Pip
  • Group: Members
  • Posts: 13
  • Joined: 05-January 10
  • Devices:Acer Liquid A1

Posted 06 January 2010 - 05:29 AM

Hopefully I'll get some more functions working this weekend, but I'll swap in that other dictionary tonight it looks a lot better. I'm not sure how to do the frequency index though since it is only a scale of 0-16 while the user dictionary does 1-255, which is much finer detail. Any suggestions? I'm looking into this one: http://www.kilgarrif...bnc-readme.html

As a side note, I won't be able to add a remove function as far as I can tell, the only way to remove entries is to remove everything in your user dictionary via: Menu -> Applications -> Manage applications -> com.android.provider.UserDictionary -> Clear data. This will clear everything, though.

0


Sponsored Links

Share this topic:


  • 2 Pages +
  • 1
  • 2
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users

MoDaCo is part of the MoDaCo.network, © Paul O'Brien 2002-2012. MoDaCo uses IntelliTxt technology. Privacy Policy / Contact Details.

Skin and Language

Sign in here


Sign in options
Log in with Facebook Log in with Twitter   Go to advanced login Register Now!