aspose file tools*
The moose likes Java in General and the fly likes problem with soure code search Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "problem with soure code search" Watch "problem with soure code search" New topic
Author

problem with soure code search

Frank king
Greenhorn

Joined: Oct 10, 2004
Posts: 10
anybody here have the "trigram match" source code?

I Have searhed it with google, but got nothing..

can you help me out? it is kinda ugent..


thx
Jessica Sant
Sheriff

Joined: Oct 17, 2001
Posts: 4313

Gee... this sounds surprisingly like homework. I've not heard of that particular algorithm, but from the name "trigram match" it seems like you need to search through a series of text for the occurance of a particular trigram (in other words -- three letters or three words in a row).

If that's the case, you can definitely implement this yourself, check out Regular Expressions

Lastly, this isn't an advanced question, so I'm moving it to the intermediate forum. So please post your replies there. Thanks!
[ October 16, 2004: Message edited by: Jessica Sant ]

- Jess
Blog:KnitClimbJava | Twitter: jsant | Ravelry: wingedsheep
Arnold Reuser
Ranch Hand

Joined: Nov 20, 2003
Posts: 194
Thanks for reading and understanding my post when you where searching for this kind of algorithm. As I told you there are three kind of solutions : the metaphone solution, the ontology solution and the match solution. You've chosen the match solution with a trigram match. At this point you have a question about the implementation of this solution, maybe it is best to understand the trigram match before asking for an implementation.
[ October 18, 2004: Message edited by: Arnold Reuser ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: problem with soure code search