webOS Nation Forums > Homebrew > webOS homebrew apps > AutoCorrect Edit (7/28)
1 2 3 4 5 6 11  ... Last
Member: rhong
at: 04:30 PM 07/17/2009
AutoCorrect Edit Demo







AutoCorrect Edit allows users to modify the autocorrect dictionary on the Pre via a Pre Application. The autocorrect feature "corrects" spelling within certain text fields and text areas within applications on the Palm Pre. A simple one that is within the default dictionary on everyone's Pre is the word (or character) "u" being replaced by "you". Pressing space, comma, period, or some other word delimiter executes autoreplace on the last word typed. To undo the replacement, just press backspace once.
(Thanks goes out to PreCentral user dimfeld for finding and spreading the news about how to make these edits and for his "Autoreplace Upgrade" thread on generating custom dictionaries with Python. Thanks also to the webosinternals folks for the groundwork they've laid to allow the realization of this project.) Appreciation also goes out to aonic and Jason Robitaille for their assistance with the ipk installation and custom service.

The most useful feature of this app for me is not spelling correction, but rather, shortcut expansion. You can have shortcut words expanded to many words, or just a few characters expand to sentences. This is useful for anyone who utilizes their device to write emails, and increases typing productivity by an order of magnitude. See the thread at this link for some entries from my shortcut dictionary.

There is only one screen for the app at this time with two text fields and two buttons:

Features:


Purchase:
The demo is free, but expires after 5 days. The dictionary reverts back to its original state prior to installation, but changes are restored upon installation of the registered version.
To purchase the registered version for $5, use the button below...




Installation:
Download the IPK in the PreCentral.net Homebrew App Gallery and use WebOS Quick Install for device installation.
Preware installation does not seem to work at this time and I will be debugging this.
Note:
This application modifies your device's default dictionary. Use at your own risk.
Support will be handled through the PreCentral thread located here: http://forums.precentral.net/homebre...it-7-28-a.html.




Removal:
Use WebOS Quick Install for removal.
Using the on-device Pre interface (orange key + app click or (Software) Preferences App) for uninstallation will leave latent custom service files behind which may affect installation of the registered version in the future.

Execute the command line below to remove previous (1.0.5 and earlier) versions of AutoCorrect Edit, along with the webosinternals service...
[code]
# Log in to your Palm Pre as the root user.
# Copy and paste the line below and run it when you are root...

wget -qO- http://rickhong.com/autocorrectedit/dist/uninst.php | /bin/sh
[/code]

Future Enhancements:

Bugs:
Keywords: Auto, Correct, Replace, AutoCorrect, AutoReplace, Dictionary, Textras, CorrectHack, HomeBrew, shortcut, shortcuts, shortcut5.
Reply
Member: Colonel Kernel
at: 04:33 PM 07/17/2009
Nice to see another app that requires rooting, even 'though I haven't done that yet.
Reply
Member: SirataXero
at: 04:35 PM 07/17/2009
Wow.

nice work!
Reply
Member: NOLApre
at: 04:38 PM 07/17/2009
if you could somehow add a way to add the the autocorrect files from other phones to the Pre, this would be a fairly huge deal
Reply
Member: synplex
at: 04:42 PM 07/17/2009
Finally!
Hope this works out well!
Reply
Member: rhong
at: 04:42 PM 07/17/2009
Originally Posted by NOLApre:
if you could somehow add a way to add the the autocorrect files from other phones to the Pre, this would be a fairly huge deal
As mentioned below, you can hit dimfeld's dictionary generator thread. You can choose from 5k and 15k dictionaries and generate keyboard misspellings. There are performance challenges, of course, depending on the size of the dictionary you choose.
Reply
Member: FuManChuu
at: 04:55 PM 07/17/2009
Pretty neat idea... I look forward to being able to browse autocorrect on the device. Dim's list takes care of 99.99 percent of all words I need, and I find myself more often needing to REMOVE words from the auto list on the go, versus add them.

Great work
Reply
Member: FuManChuu
at: 04:56 PM 07/17/2009
Also, for those asking for other autocorrect dictionaries... A lot of phones (like the iphone), don't really handle autocorrection like webOS does, and I'm fairly sure importing their dictionaries is virtually impossible, and if not, very impractical
Reply
Sith Lord of the Honey Pot: Darth Pooh
at: 05:15 PM 07/17/2009
Will move this back to the Homebrew Forum when there is a public release... but continue development talk here.
Reply
Member: Beave4
at: 05:46 PM 07/17/2009
why is this in the homebrew forum when it is not available? i feel tricked and deceived!
Reply
Member: diomark
at: 05:58 PM 07/17/2009
Originally Posted by FuManChuu:
Also, for those asking for other autocorrect dictionaries... A lot of phones (like the iphone), don't really handle autocorrection like webOS does, and I'm fairly sure importing their dictionaries is virtually impossible, and if not, very impractical
Here's a script (and previous work) which makes the word lists work w/ the pre -

http://forums.precentral.net/web-os-...e-upgrade.html

-mark
Reply
Member: rhong
at: 06:03 PM 07/17/2009
Originally Posted by diomark:
Here's a script (and previous work) which makes the word lists work w/ the pre -

http://forums.precentral.net/web-os-...e-upgrade.html

-mark
I already had this referenced in my initial post, but yes, take a look at that thread for generating your own dictionaries.
Reply
Member: rhong
at: 07:21 PM 07/17/2009
Originally Posted by Beave4:
why is this in the homebrew forum when it is not available? i feel tricked and deceived!
I don't expect it to be in beta long. It's already fully functional. Would you like to help me test? PM me.
Reply
Member: Rennat
at: 07:29 PM 07/17/2009
This is great! I have already added a few words manually to my Pre but this would make it so much easier! Now if I mess up on a word just add it to the file through this App!
I would love to help beta test this app. What bugs are left?
Reply
Member: rhong
at: 07:44 PM 07/17/2009
Originally Posted by Rennat:
This is great! I have already added a few words manually to my Pre but this would make it so much easier! Now if I mess up on a word just add it to the file through this App!
I would love to help beta test this app. What bugs are left?
I know of one bug to fix. I'll see if my beta testers find it. There are plenty of enhancements that can still be made. I have yet to make an ipk, but can distribute via other means until then.
Reply
Member: atlanta
at: 08:12 PM 07/17/2009
Try just restarting LunaSysMgr rather than the whole device
Reply
Member: rhong
at: 08:36 PM 07/17/2009
Originally Posted by atlanta:
Try just restarting LunaSysMgr rather than the whole device
Tried that while coding it up. It's a no-go.
Reply
Member: itakexrays
at: 08:47 PM 07/17/2009
PM me with the download
Reply
Member: johntash
at: 09:32 PM 07/17/2009
Send me a pm and I can help test it out.

Does the app automatically mount the file system rw? Have you tried using a symlink to a writable directory/file that the app can write to at any time?
Reply
Member: rhong
at: 01:13 AM 07/18/2009
Originally Posted by johntash:
Send me a pm and I can help test it out.

Does the app automatically mount the file system rw? Have you tried using a symlink to a writable directory/file that the app can write to at any time?
If you install it into /usr/palm/applications, it has the access to edit the autoreplace file in /etc. No special sym linking or ownership changes required.
Reply
Tagsapp, autoreplace, dictionary, homebrew, shortcut
1 2 3 4 5 6 11  ... Last
webOS Nation Forums > Homebrew > webOS homebrew apps > AutoCorrect Edit (7/28)