• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Vocabulary building

 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hello there,

Does anyone have experience of building language vocabularies in Java?

I am considering the options for building Latin and English vocabularies to enhance my research into automated essay marking.

Regards,

James Christie
 
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
can you pls give more details about what you want from Java?
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have in the past done that sort of thing with Java as part of creating searchable text databases of legal documents.

The "Collections" classes provide handy tools for high speed lookup of words, keeping ordered lists of words, etc. - You should get familiar with the java.util package.
The Apache Commons projects have several items of interest, including phonetic encoding that would help with looking up misspelled/alternate spelling words.
Bill
 
James Christie
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by Chetan Parekh:
can you pls give more details about what you want from Java?




First, I'm sorry for the delay in replying to you ~ I've been marking, marking and marking!

What I am looking for is the best means ie data structure for the holding of words and information about each word [such as "cat" noun, singular, "sat" verb past tense singular].

The data structure will need to be settled soon so that I can spend a long Summer entering words & information. But the chosen means with have to have a large capacity and be quickly searchable!

Regards,

James
 
James Christie
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Originally posted by William Brogden:
I have in the past done that sort of thing with Java as part of creating searchable text databases of legal documents.

The "Collections" classes provide handy tools for high speed lookup of words, keeping ordered lists of words, etc. - You should get familiar with the java.util package.
The Apache Commons projects have several items of interest, including phonetic encoding that would help with looking up misspelled/alternate spelling words.
Bill




Sorry for taking so long in replying ~ I've been marking, marking and marking!

I've looked at various possible data structures and combinations thereof.

I require a high capacity fast searchable storage structure.

I'll follow up the tips you gave me.

Regards,

James
 
William Brogden
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Please let us know what you come up with. It seems to me that being able to keep your entire dataset in memory is critical to good lookup performance.
I think it will be well worth your time to investigate existing dictionaries of words that could be processed, as opposed to hand entering masses of well known words.
A casual Google search found this project on Language Representation for example.
One of the most famous projects in this line is "Moby Words" - a word list completed in 1996 - knocking about the net in many forms. I used this list to experiment with phonetic coding.
Check out this site for example.
Bill
 
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Check out Lucene. It is an open-source, high-performance, full-featured text search engine written in Java. It can used for any application that requires full-text search.
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
bparanj,

Welcome to JavaRanch!

A bit of business: you may not have read our naming policy on the way in. It requires that you use a full, real (sounding) first and last name for your display name. "Handles" and joke names aren't enough. You can change your display name here. Thanks!
 
James Christie
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
>> this project on Language Representation for example.
Thank your for this information I'll follow it up asap.

>> "Moby Words" - a word list completed in 1996
I already know of this work.

Many thanks for your reply.

Regards,

James
 
James Christie
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Lucene

Is there a web site on this?

Many thanks for helping me.

Regards,
James
 
Wanderer
Posts: 18671
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Yes.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic