2

Want to know about any library for spell checking in android. I have looked at http://code.google.com/p/google-api-spelling-java/ and jOrtho but none works in android.

Is there a way to implement spell checking in android , as i can't find any library .

voidRy
  • 674
  • 9
  • 20

1 Answers1

1

A simple way to do it would be to detect each space-separated word, then check in a 'dictionary' or 'map' of words. You could check if it is a real word by looking in a file with all words, such as /usr/share/dict/words on a unix/linux system. The link here may also help.

Community
  • 1
  • 1
NoBugs
  • 9,310
  • 13
  • 80
  • 146
  • Currently what i'm doing in my application is..word is checked in dictionary and displayed in suggestion bar. But it is not checking/giving suggestion for ex. helo -> hello. want a spell checking like this . – voidRy May 10 '12 at 05:19
  • That's an interesting problem. After some searching, I found this that may help: http://stackoverflow.com/questions/2294915/what-algorithm-gives-suggestions-in-a-spell-checker – NoBugs May 11 '12 at 00:30
  • @NoBugs I have edited your comment in your answer. You can remove this. – Gaurav Agarwal May 16 '12 at 18:25