开发者

English dictionary needed for a word game

开发者 https://www.devze.com 2023-02-04 23:34 出处:网络
I\'m looking for a way to include a full blown English dictionary in an i开发者_StackOverflow社区Phone app (a word game), the database must be able to include all conjugation possibilities for verbs,

I'm looking for a way to include a full blown English dictionary in an i开发者_StackOverflow社区Phone app (a word game), the database must be able to include all conjugation possibilities for verbs, must include singular and plural spellings. So my app can query the database to check if the spelling is correct.

Is there a free or commercial database that would include those data?


You can use UITextChecker for spell-checking.

Regarding a dictionary, when I built an iOS dictionary library sometime ago (www.lexicontext.com) I used WordNet. WordNet contains a lot of interesting semantic info ...


NSSpellChecker is your easiest option, but it might be more complete to use the online Scrabble official dictionary as well and check it against both (only one match required.)

You could do a web-service request using http://www.hasbro.com/scrabble/en_US/search.cfm


http://www.a2zwordfinder.com/cgi-bin/scrabble.cgi?Letters=&Pattern=______&MatchType=Exactly&MinLetters=3&SortBy=Alpha&SearchType=Scrabble

Change min letters to get different results


The best place to find a database for a spell-checker is probably a free text processing application. So, I'd try with Open Office version of Word. Download it, install it and simply find the dictionary file.

Open Office is licensed under LGPL, so it should be fine, just check if the licence covers the data as well (i.e. the dictionary file).


Maybe this English corpus helps: http://www.wordfrequency.info/free.asp

0

精彩评论

暂无评论...
验证码 换一张
取 消