Permalink
Browse files

i -> I

Change-Id: I4b6971147e773d3f203a8bbd82d54f4d521bdba7
Signed-off-by: Roman Birg <romanbirg@gmail.com>
  • Loading branch information...
1 parent 037fa60 commit 25886f39e4549800334da200e7a8aef91a1c8e3f @romanbb romanbb committed Jan 4, 2013
View
@@ -7,7 +7,7 @@ PRODUCT_PACKAGE_OVERLAYS += vendor/aokp/overlay/dictionaries
PRODUCT_PACKAGES += \
AOKPtips \
AppWidgetPicker \
- LatinImeDictionary \
+ LatinImeDictionaryPack \
Microbes \
NovaLauncher \
PerformanceControl \
View
@@ -9,11 +9,15 @@ to compile a new dictionary and install it properly example for English:
. build/envsetup.sh && lunch
makedict_aosp \
- -s vendor/aokp/dict/words_en.xml \
- -d vendor/aokp/overlay/dictionaries/packages/inputmethods/LatinIME/java/res/raw/main_en.dict
+ -c vendor/aokp/dict/en_whitelist.xml \
+ -s vendor/aokp/dict/en_words.xml \
+ -d vendor/aokp/overlay/dictionaries/packages/inputmethods/LatinIME/java/res/raw/main_en.dict \
+ -3
--s = represents the path tho the source xml word list
--d = represents the output path for the resulting binary
+###################################################
+*** makedict
+Usage: makedict [-s <unigrams.xml> [-b <bigrams.xml>] [-c <shortcuts_and_whitelist.xml>] | [-s <binary input>] [-d <binary output>] [-x <xml output>] [-1] [-2] [-3]
+###################################################
*RULES*
1. Keep importance below 150 else words will appear annoying often
View
@@ -0,0 +1,290 @@
+<shortcuts>
+ <entry shortcut="UnitedStates">
+ <target replacement="United States" priority="whitelist" />
+ </entry>
+ <entry shortcut="acomodate">
+ <target replacement="accommodate" priority="whitelist" />
+ </entry>
+ <entry shortcut="aint">
+ <target replacement="ain't" priority="whitelist" />
+ </entry>
+ <entry shortcut="alot">
+ <target replacement="a lot" priority="whitelist" />
+ </entry>
+ <entry shortcut="andteh">
+ <target replacement="and the" priority="whitelist" />
+ </entry>
+ <entry shortcut="arent">
+ <target replacement="aren't" priority="whitelist" />
+ </entry>
+ <entry shortcut="berm">
+ <target replacement="been" priority="whitelist" />
+ </entry>
+ <entry shortcut="bern">
+ <target replacement="been" priority="whitelist" />
+ </entry>
+ <entry shortcut="bot">
+ <target replacement="not" priority="whitelist" />
+ </entry>
+ <entry shortcut="bur">
+ <target replacement="but" priority="whitelist" />
+ </entry>
+ <entry shortcut="cam">
+ <target replacement="can" priority="whitelist" />
+ </entry>
+ <entry shortcut="cant">
+ <target replacement="can't" priority="whitelist" />
+ </entry>
+ <entry shortcut="dame">
+ <target replacement="same" priority="whitelist" />
+ </entry>
+ <entry shortcut="didint">
+ <target replacement="didn't" priority="whitelist" />
+ </entry>
+ <entry shortcut="dormer">
+ <target replacement="former" priority="whitelist" />
+ </entry>
+ <entry shortcut="dud">
+ <target replacement="did" priority="whitelist" />
+ </entry>
+ <entry shortcut="fay">
+ <target replacement="day" priority="whitelist" />
+ </entry>
+ <entry shortcut="fife">
+ <target replacement="five" priority="whitelist" />
+ </entry>
+ <entry shortcut="foe">
+ <target replacement="for" priority="whitelist" />
+ </entry>
+ <entry shortcut="foo">
+ <target replacement="too" priority="whitelist" />
+ </entry>
+ <entry shortcut="fora">
+ <target replacement="for a" priority="whitelist" />
+ </entry>
+ <entry shortcut="galled">
+ <target replacement="called" priority="whitelist" />
+ </entry>
+ <entry shortcut="goo">
+ <target replacement="too" priority="whitelist" />
+ </entry>
+ <entry shortcut="hed">
+ <target replacement="he'd" priority="whitelist" />
+ </entry>
+ <entry shortcut="hel">
+ <target replacement="he'll" priority="whitelist" />
+ </entry>
+ <entry shortcut="heres">
+ <target replacement="here's" priority="whitelist" />
+ </entry>
+ <entry shortcut="hew">
+ <target replacement="new" priority="whitelist" />
+ </entry>
+ <entry shortcut="hid">
+ <target replacement="his" priority="whitelist" />
+ </entry>
+ <entry shortcut="hoe">
+ <target replacement="how" priority="whitelist" />
+ </entry>
+ <entry shortcut="hoes">
+ <target replacement="how's" priority="whitelist" />
+ </entry>
+ <entry shortcut="howd">
+ <target replacement="how'd" priority="whitelist" />
+ </entry>
+ <entry shortcut="howll">
+ <target replacement="how'll" priority="whitelist" />
+ </entry>
+ <entry shortcut="hows">
+ <target replacement="how's" priority="whitelist" />
+ </entry>
+ <entry shortcut="howve">
+ <target replacement="how've" priority="whitelist" />
+ </entry>
+ <entry shortcut="hum">
+ <target replacement="him" priority="whitelist" />
+ </entry>
+ <entry shortcut="i">
+ <target replacement="I" priority="whitelist" />
+ </entry>
+ <entry shortcut="ifs">
+ <target replacement="its" priority="whitelist" />
+ </entry>
+ <entry shortcut="il">
+ <target replacement="I'll" priority="whitelist" />
+ </entry>
+ <entry shortcut="ill">
+ <target replacement="I'll" priority="whitelist" />
+ </entry>
+ <entry shortcut="im">
+ <target replacement="I'm" priority="whitelist" />
+ </entry>
+ <entry shortcut="inteh">
+ <target replacement="in the" priority="whitelist" />
+ </entry>
+ <entry shortcut="itd">
+ <target replacement="it'd" priority="whitelist" />
+ </entry>
+ <entry shortcut="itsa">
+ <target replacement="it's a" priority="whitelist" />
+ </entry>
+ <entry shortcut="lets">
+ <target replacement="let's" priority="whitelist" />
+ </entry>
+ <entry shortcut="maam">
+ <target replacement="ma'am" priority="whitelist" />
+ </entry>
+ <entry shortcut="manu">
+ <target replacement="many" priority="whitelist" />
+ </entry>
+ <entry shortcut="mare">
+ <target replacement="made" priority="whitelist" />
+ </entry>
+ <entry shortcut="mew">
+ <target replacement="new" priority="whitelist" />
+ </entry>
+ <entry shortcut="mire">
+ <target replacement="more" priority="whitelist" />
+ </entry>
+ <entry shortcut="moat">
+ <target replacement="most" priority="whitelist" />
+ </entry>
+ <entry shortcut="mot">
+ <target replacement="not" priority="whitelist" />
+ </entry>
+ <entry shortcut="mote">
+ <target replacement="note" priority="whitelist" />
+ </entry>
+ <entry shortcut="motes">
+ <target replacement="notes" priority="whitelist" />
+ </entry>
+ <entry shortcut="mow">
+ <target replacement="now" priority="whitelist" />
+ </entry>
+ <entry shortcut="namer">
+ <target replacement="named" priority="whitelist" />
+ </entry>
+ <entry shortcut="nave">
+ <target replacement="have" priority="whitelist" />
+ </entry>
+ <entry shortcut="nee">
+ <target replacement="new" priority="whitelist" />
+ </entry>
+ <entry shortcut="nigh">
+ <target replacement="high" priority="whitelist" />
+ </entry>
+ <entry shortcut="nit">
+ <target replacement="not" priority="whitelist" />
+ </entry>
+ <entry shortcut="nut">
+ <target replacement="but" priority="whitelist" />
+ </entry>
+ <entry shortcut="oft">
+ <target replacement="off" priority="whitelist" />
+ </entry>
+ <entry shortcut="os">
+ <target replacement="is" priority="whitelist" />
+ </entry>
+ <entry shortcut="pater">
+ <target replacement="later" priority="whitelist" />
+ </entry>
+ <entry shortcut="rook">
+ <target replacement="took" priority="whitelist" />
+ </entry>
+ <entry shortcut="shel">
+ <target replacement="she'll" priority="whitelist" />
+ </entry>
+ <entry shortcut="shouldent">
+ <target replacement="shouldn't" priority="whitelist" />
+ </entry>
+ <entry shortcut="sill">
+ <target replacement="will" priority="whitelist" />
+ </entry>
+ <entry shortcut="sown">
+ <target replacement="down" priority="whitelist" />
+ </entry>
+ <entry shortcut="thatd">
+ <target replacement="that'd" priority="whitelist" />
+ </entry>
+ <entry shortcut="thong">
+ <target replacement="thing" priority="whitelist" />
+ </entry>
+ <entry shortcut="tine">
+ <target replacement="time" priority="whitelist" />
+ </entry>
+ <entry shortcut="tome">
+ <target replacement="time" priority="whitelist" />
+ </entry>
+ <entry shortcut="uf">
+ <target replacement="if" priority="whitelist" />
+ </entry>
+ <entry shortcut="un">
+ <target replacement="in" priority="whitelist" />
+ </entry>
+ <entry shortcut="unitedstates">
+ <target replacement="United States" priority="whitelist" />
+ </entry>
+ <entry shortcut="visavis">
+ <target replacement="vis-a-vis" priority="whitelist" />
+ </entry>
+ <entry shortcut="wel">
+ <target replacement="we'll" priority="whitelist" />
+ </entry>
+ <entry shortcut="wer">
+ <target replacement="we're" priority="whitelist" />
+ </entry>
+ <entry shortcut="whatd">
+ <target replacement="what'd" priority="whitelist" />
+ </entry>
+ <entry shortcut="whatm">
+ <target replacement="what'm" priority="whitelist" />
+ </entry>
+ <entry shortcut="whatre">
+ <target replacement="what're" priority="whitelist" />
+ </entry>
+ <entry shortcut="whats">
+ <target replacement="what's" priority="whitelist" />
+ </entry>
+ <entry shortcut="whens">
+ <target replacement="when's" priority="whitelist" />
+ </entry>
+ <entry shortcut="whered">
+ <target replacement="where'd" priority="whitelist" />
+ </entry>
+ <entry shortcut="wherell">
+ <target replacement="where'll" priority="whitelist" />
+ </entry>
+ <entry shortcut="wheres">
+ <target replacement="where's" priority="whitelist" />
+ </entry>
+ <entry shortcut="wholl">
+ <target replacement="who'll" priority="whitelist" />
+ </entry>
+ <entry shortcut="whove">
+ <target replacement="who've" priority="whitelist" />
+ </entry>
+ <entry shortcut="whyd">
+ <target replacement="why'd" priority="whitelist" />
+ </entry>
+ <entry shortcut="whyll">
+ <target replacement="why'll" priority="whitelist" />
+ </entry>
+ <entry shortcut="whys">
+ <target replacement="why's" priority="whitelist" />
+ </entry>
+ <entry shortcut="whyve">
+ <target replacement="why've" priority="whitelist" />
+ </entry>
+ <entry shortcut="wierd">
+ <target replacement="weird" priority="whitelist" />
+ </entry>
+ <entry shortcut="wont">
+ <target replacement="won't" priority="whitelist" />
+ </entry>
+ <entry shortcut="yall">
+ <target replacement="y'all" priority="whitelist" />
+ </entry>
+ <entry shortcut="youd">
+ <target replacement="you'd" priority="whitelist" />
+ </entry>
+</shortcuts>
@@ -1,4 +1,4 @@
-<wordlist locale="en" description="English" date="1356368030" version="16">
+<wordlist locale="en_US" description="English" date="1357325245" version="17">
<!--AOKP customizations *keep below 150* no whitespaces-->
<w f="150" flags="abbreviation">AOKP</w>
<w f="100" flags="n">romanbb</w>
@@ -39,7 +39,6 @@
<w f="100" flags="">bash</w>
<w f="100" flags="">github</w>
<w f="101" flags="n">Github</w>
- <w f="150" flags="">i</w>
<!--AOSP standard-->
<w f="222" flags="">the</w>
<w f="214" flags="">of</w>

0 comments on commit 25886f3

Please sign in to comment.