Saturday, September 24, 2011

Smart Keyboard Pro - Malay Dictionary

Selamat datang ke blog saya!

If you own an Android phone and use Smart Keyboard (Trial or Pro)... and you want to send messages in Malay (yup, that's Bahasa Melayu), here's how to get a dictionary for it (Yea, there's no official dictionary, even for Bahasa Indonesia).


Note: The procedure assumes that you do not currently use "Bahasa Indonesia" language in your Smart Keyboard. It's a lengthy procedure but I assure you it's easy to follow through. Do give it a full reading first before following the steps.

  1. Download this file and open it in Notepad.
     
  2. On your phone, go to Smart Keyboard Settings > Backup settings.
  3. Tap on "Backup to SD card", "Export user dictionary" and "Export AutoText", and confirm each of the backups. Do take note of where the backups are saved. This is for a rollback in case something goes wrong. You will also need one of the backup files later.
     
  4. Go to Smart Keyboard Settings > Language.
  5. Ensure "Hide Language key" is disabled (unchecked).
  6. Tap "Language selection key" and select two languages:
    1. The language you normally use (most likely "English" or "English (UK)") You can check what you're using by going back and tapping on "Current Language".
    2. Bahasa Indonesia (Indonesian). Make sure all other languages are unchecked unless you use them.
       
  7. Go to Smart Keyboard Settings > Text prediction.
  8. Ensure that "Smart Dictionary" is enabled (checked). This will help learn word frequencies, showing you most used words first.
     
  9. Exit out of Smart Keyboard Settings and connect your phone to your computer in Disk Drive mode. You may also use other methods as long as you can access the SD card contents.
  10. Open the phone's SD card in your computer. You should find the backup files in the folder "smartkeyboard" or "smartkeyboardpro" (as you noted in step 3).
  11. Make a copy of the file "userdic.csv".
  12. Open the original "userdic.csv" (not the copy!) in Notepad. It's important to open in Notepad or a text editor. Avoid using Microsoft Excel, OpenOffice Calc or other complex software.
  13. Copy the contents of the file you downloaded in step 1 and append it to the contents of "userdic.csv".
  14. Save the file, and disconnect the phone from the computer (or give the SD card back to the phone).
     
  15. Go to Smart Keyboard Settings > Backup settings.
  16. Tap on "Import user dictionary" and tap OK (tap it a little harder to be sure).
     
  17. Now you must WAIT! Smart Keyboard may seem to have frozen with the confirmation dialog on screen. Depending on the speed of your device, this step can take anywhere from a few seconds to several minutes! It's important to remember that there are over 9000 Malay terms in the user dictionary and importing all of them will take a while. If you tap on the screen, Android may complain that Smart Keyboard is not responding. Tap WAIT to this message! Do not tap Force Close or Report! Once again, Smart Keyboard is not frozen, it is simply taking a little while to import all the Malay terms. When it's done, the confirmation dialog will automatically disappear. If your phone screen turns off, turn it on after a few minutes to check the progress.
     
  18. Once the confirmation dialog has disappeared, exit out of Smart Keyboard Settings and open a text area where you can see the Smart Keyboard on-screen keyboard.
  19. If you have never had this before, you will see a new key next to the 123 key. Tap on this key to switch between the languages you selected in step 6: EN ("English") and ID ("Malay"). Although ID stands for Indonesian, the user dictionary you loaded in steps 16-17 is standard Malay used in Malaysia and Singapore. It is not Indonesian Malay.
  20. Switch to EN when you want to type in English, or to ID when you want to type in Malay. Allow Smart Keyboard a few weeks to learn the frequent words through your daily use. At first, you may get less frequent words as your top choices, but as you keep using, Smart Keyboard will learn the more frequent words you use and prioritize them.
About the Dictionary:
This dictionary was compiled from Bhanot's Malay-English Cyber- Dictionary. The Malay terms and derivatives were compiled together, one term/derivative per line. Phrases of two or more words separated by spaces were broken into separate words. Duplicates were removed, and the final compilation was prepared for use with Bahasa Indonesia in Smart Keyboard by adding the language code "ID" to all the words. Notepad2 was used to complete this entire process quickly and efficiently.

The prefix ber and the suffix kan were added to the dictionary for convenience. I didn't think of any other prefix/suffix to add. Suggestions are welcome.

Disclaimer:
I do not claim ownership of any part of my compilation here which had been borrowed from the source material. I do not intend to use my compilation or any part of it commercially or for profit. I have made it available for everyone free of charge, just as the raw material for it had been made available free of charge in the source website.

Terima kasih!

4 comments:

  1. i tryed the same with an romanian list an my phone gave me force close , didn't know about the fact that if i tap on the screen it will think that the app is frozen i'll try again !

    ReplyDelete
  2. i tryed the same with an romanian list an my phone gave me force close , didn't know about the fact that if i tap on the screen it will think that the app is frozen i'll try again !

    ReplyDelete
  3. Where can I find the "smartkeyboard" and "smartkeyboardpro" folders? Their location is not immediately identifiable on any of the Android devices to which I've already installed this app.

    ReplyDelete
    Replies
    1. As technologies have changed, this tutorial may be out of date. It was written for Android 2.3. Latest Android versions and latest Smart Keyboard versions may behave differently, but the basic idea would remain the same. Please find out where the app saved the backup and whether it can be accessed via a File Manager.

      Delete

Comments are moderated, and are usually posted within 24 hours if approved. You must have a minimum of OpenID to post comments.

LinkWithin

Related Posts with Thumbnails