aspose file tools*
The moose likes Java in General and the fly likes Vocabulary building Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » Java in General
Bookmark "Vocabulary building" Watch "Vocabulary building" New topic
Author

Vocabulary building

James Christie
Greenhorn

Joined: May 14, 2005
Posts: 5
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


James Christie
Chetan Parekh
Ranch Hand

Joined: Sep 16, 2004
Posts: 3636
can you pls give more details about what you want from Java?


My blood is tested +ve for Java.
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12805
    
    5
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

Joined: May 14, 2005
Posts: 5
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

Joined: May 14, 2005
Posts: 5
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

Joined: Mar 22, 2000
Posts: 12805
    
    5
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

Joined: May 27, 2002
Posts: 27
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.


Moderator : <a href="http://groups.yahoo.com/group/OOAD_UML/" target="_blank" rel="nofollow">http://groups.yahoo.com/group/OOAD_UML/</a> <br />Home : <a href="http://www.zepho.com" target="_blank" rel="nofollow">http://www.zepho.com</a>
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24187
    
  34

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!


[Jess in Action][AskingGoodQuestions]
James Christie
Greenhorn

Joined: May 14, 2005
Posts: 5
>> 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

Joined: May 14, 2005
Posts: 5
Lucene

Is there a web site on this?

Many thanks for helping me.

Regards,
James
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18671
Yes.


"I'm not back." - Bill Harding, Twister
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Vocabulary building