Parsable pocket dictionary file

This is a discussion on Parsable pocket dictionary file within the A Brief History of Cprogramming.com forums, part of the Community Boards category; I'm writing a simply dictionary program which I hope to port to embedded (it's currently J2SE, will port to J2ME ...

  1. #1
    Registered User
    Join Date
    Jul 2006
    Posts
    4

    Parsable pocket dictionary file

    I'm writing a simply dictionary program which I hope to port to embedded (it's currently J2SE, will port to J2ME for cell phones), but am having a hard time finding a reasonable data source for it. Most of the resources I've found are from 1995 full of long-outdated FTP links. Project Gutenberg has a Websters going, but it's far too massive.

    I've got to keep the JAR to <= 500kb, so uncompressed (I believe that midlet allows for the JAR to be compressed) the dictionary should probably be < 750kb.. does anyone know of a dictionary I could use?

  2. #2
    Crazy Fool Perspective's Avatar
    Join Date
    Jan 2003
    Location
    Canada
    Posts
    2,640
    Do you want a wordlist, or a dictionary with definitions?

    /usr/share/dict/words is about 2MB (on any linux/mac box)... you might be able to trim it down :dunno:

  3. #3
    Registered User Frobozz's Avatar
    Join Date
    Dec 2002
    Posts
    546
    How about compressing it? Even a simple method of just replacing the most commonly used words would reduce it by a good amount.

  4. #4
    Registered User
    Join Date
    Jul 2006
    Posts
    4
    Since it will be in a JAR file, it should be ZIP compressed, which would help. I'd like definitions.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Formatting a text file...
    By dagorsul in forum C Programming
    Replies: 12
    Last Post: 05-02-2008, 03:53 AM
  2. Encryption program
    By zeiffelz in forum C Programming
    Replies: 1
    Last Post: 06-15-2005, 03:39 AM
  3. archive format
    By Nor in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 08-05-2003, 07:01 PM
  4. Making a LIB file from a DEF file for a DLL
    By JMPACS in forum C++ Programming
    Replies: 0
    Last Post: 08-02-2003, 08:19 PM
  5. Hmm....help me take a look at this: File Encryptor
    By heljy in forum C Programming
    Replies: 3
    Last Post: 03-23-2002, 09:57 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21