Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Vocabulary building

 
James Christie
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • 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
 
Chetan Parekh
Ranch Hand
Posts: 3640
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
can you pls give more details about what you want from Java?
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13056
6
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • 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
Rancher
Posts: 13056
6
  • Mark post as helpful
  • send pies
  • 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
 
bparanj
Greenhorn
Posts: 27
  • Mark post as helpful
  • send pies
  • 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.
 
Ernest Friedman-Hill
author and iconoclast
Marshal
Pie
Posts: 24208
35
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • 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
  • 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
  • Quote
  • Report post to moderator
Lucene

Is there a web site on this?

Many thanks for helping me.

Regards,
James
 
Jim Yingst
Wanderer
Sheriff
Posts: 18671
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic