Page 2 of 6 FirstFirst 123456 LastLast
Results 11 to 20 of 58
Discuss [Keyboard] Dictionary editor for 1.1.1 and later at the Tools - Hackint0sh.org; Updated info above with information about one/two-letter-words files. I will post the proggy in the ...
  1. #11
    Advanced Array

    Join Date
    Dec 2007
    Posts
    44
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Updated info above with information about one/two-letter-words files. I will post the proggy in the coming days.


  2. #12
    Advanced Array

    Join Date
    Sep 2007
    Posts
    47
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by M4v3R View Post
    Sure. It's incomplete though.
    *-{one/two}-letter-words.dat: These two files hold one and two letter words for each language. They always start with 8 byte header, 6 bytes unknown, and 2 bytes are length of the file minus 8 bytes. Then the list of words follow, with 3 byte 'counter' at the beginning, and 3 (one-letter-words) / 6 (two-letter-words) 00-padded word in plain ASCII.
    Thank you, M4v3R.

    Just three questions.

    Have you considered the possibility that those "00-padded word" letters could actually be Unicode-2-bytes letters?

    Does a two-letter-words.dat file work if I fill the unknown 6 bytes in the header with random data?

    What is the _3 byte 'counter' at the begining of every record_ for?

    Thank you again.

  3. #13
    Advanced Array

    Join Date
    Nov 2007
    Posts
    32
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Do we need to know special programming skills to use or create a dictionnary ? I want to create a dictionnary for Turkish Language . Anybody can help me ? Thanks .

    Skyy

  4. #14
    Advanced Array

    Join Date
    Sep 2007
    Posts
    47
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    No, you don't, if you use iPhoneShop or the tools M4v3R will release.

    You just have to download iPhoneShop to your computer and having Java insalled (version 1.1.5, it didn't work with 1.1.6 in my computer).

    Then you prepare a text file with the words you want to have in your diccionary.

    The first line must be a header with following line:
    UTF8Word X-Boolean Weight

    Then, in every line, a word, then a boolean value (true or false, in text: I don't know what is it for) and the frequency of the word, from 10 to 100.

    The file should be something like this:

    UTF8Word X-Boolean Weight
    apple true 70
    and true 90

    And so on.

    Important: you must use tabs and no spaces to separate the fields.
    More important: the file should be in Unicode format. If you use chars higher than ASCII 127 (e.g. , , , ...), it won't work if you don't use Unicode.

  5. #15
    Board Hero Array

    Join Date
    Dec 2007
    Posts
    1,044
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    74

    Default

    Apart from creating the five files discussed above, what do you need to do in order to make the new language available?

    I downloaded ready-made files and put them on the phone in /System/Library/KeyboardDictionaries, then rebooted the phone, but when I go to Settings... General... Keyboard... International Keyboards, there is still only English, English-UK, French, German and Italian on the list. This is with firmware version 1.1.2 (and the five files I downloaded were made for that version).

    There must be some configuration file where the Settings program finds the list of available keyboard languages... Or not?
    iPhone 3GS / 3.1.2 JB (PwnageTool) / 04.26.08 carrier-locked, Carrier Logo Fixer / Cydia / 1000 posts on Hackint0sh

    Installing Cydia programs on a phone that has no internet connection: read this.

    Editing binary .plist, .strings, .nib and .xib files:
    * on your computer: Windows tool / conversion website.
    * on your iPhone: convert those files in a terminal with plutil (installed with Erica Utilities) or edit them with iFile (Cydia links).


  6. #16
    Senior Professional Array

    Join Date
    Oct 2007
    Posts
    218
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    17

    Default

    Quote Originally Posted by reycat View Post
    More important: the file should be in Unicode format. If you use chars higher than ASCII 127 (e.g. , , , ...), it won't work if you don't use Unicode.
    If I save the text file as Unicode and then use iPhoneShop to convert it. Then when I get suggestion it says "Niv[]" where the [] should have been a "".
    How do I solve this?
    Also tried with UTF-8

  7. #17
    Advanced Array

    Join Date
    Sep 2007
    Posts
    47
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by Jim Danner View Post
    Apart from creating the five files discussed above, what do you need to do in order to make the new language available?

    I downloaded ready-made files and put them on the phone in /System/Library/KeyboardDictionaries, then rebooted the phone, but when I go to Settings... General... Keyboard... International Keyboards, there is still only English, English-UK, French, German and Italian on the list. This is with firmware version 1.1.2 (and the five files I downloaded were made for that version).

    There must be some configuration file where the Settings program finds the list of available keyboard languages... Or not?
    I actually don't know... what I do is overwriting some of the present languages with my files

    Quote Originally Posted by protoZ_dk View Post
    If I save the text file as Unicode and then use iPhoneShop to convert it. Then when I get suggestion it says "Niv[]" where the [] should have been a "".
    How do I solve this?
    Also tried with UTF-8
    Mmm... there's something strange there. Are you sure it's Unicode? I mean, if you open the file with a hex editor, can you see a 0x00 every other byte? (minus the places where you have high ASCII letters, of course).

    Now that I remember, I think I made the text file with MS Access. I imported what I needed in a table and exported from Access, specifying Unicode. It didn't worked before when I told UltraEdit to change the file into Unicode.

  8. #18
    Senior Professional Array

    Join Date
    Oct 2007
    Posts
    218
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    17

    Default

    Quote Originally Posted by reycat View Post
    I actually don't know... what I do is overwriting some of the present languages with my files



    Mmm... there's something strange there. Are you sure it's Unicode? I mean, if you open the file with a hex editor, can you see a 0x00 every other byte? (minus the places where you have high ASCII letters, of course).

    Now that I remember, I think I made the text file with MS Access. I imported what I needed in a table and exported from Access, specifying Unicode. It didn't worked before when I told UltraEdit to change the file into Unicode.
    Yea im using UltraEdit32 and saving with following settings
    File Type : Txt
    Line Terminator: Default
    Format: Unicode - ASCII Escaped (only option with Unicode)

    And yes it's 0x00 in every other byte after the counter

  9. #19
    Advanced Array

    Join Date
    Sep 2007
    Posts
    47
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    0

    Default

    Quote Originally Posted by protoZ_dk View Post
    Yea im using UltraEdit32 and saving with following settings
    File Type : Txt
    Line Terminator: Default
    Format: Unicode - ASCII Escaped (only option with Unicode)

    And yes it's 0x00 in every other byte after the counter
    Mmm... As I said before, I couldn't make it work with UltraEdit. If you feel like it,send me a private message with a link to your file and I'll try the Access thing

  10. #20
    Senior Professional Array

    Join Date
    Oct 2007
    Posts
    218
    Post Thanks / Like
    Downloads
    0
    Uploads
    0
    Rep Power
    17

    Default

    Quote Originally Posted by reycat View Post
    Mmm... As I said before, I couldn't make it work with UltraEdit. If you feel like it,send me a private message with a link to your file and I'll try the Access thing
    Ahh..I read it as you couldnt make it work before you used UltraEdit and not access. Ill see if I have Access somewhere else I might pm you, cheers


 

 
Page 2 of 6 FirstFirst 123456 LastLast

Similar Threads

  1. MacNN: Sena Keyboard Folio for iPad includes built-in keyboard
    By hackint0sh in forum Latest Headlines
    Replies: 0
    Last Post: 08-30-2010, 09:20 PM
  2. Dictionary Eng -> Spa
    By MrtynKyn in forum AppStore Software
    Replies: 0
    Last Post: 07-11-2009, 03:43 AM
  3. Replies: 2
    Last Post: 01-13-2009, 06:20 PM
  4. [Dictionary] Virtual keyboard
    By MaLer in forum General
    Replies: 28
    Last Post: 04-07-2008, 10:21 AM
  5. Dutch keyboard / dictionary ?
    By ExOMaNiaC in forum General
    Replies: 16
    Last Post: 11-28-2007, 05:38 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Powered by vBulletin®
Copyright © 2014 vBulletin Solutions, Inc. All rights reserved.
Search Engine Friendly URLs by vBSEO
(c) 2006-2012 Hackint0sh.org
All times are GMT +2. The time now is 01:28 AM.
twitter, follow us!