OBSearch examples

32 views
Skip to first unread message

Rodrigo Gonçalves

unread,
Feb 6, 2011, 5:43:25 PM2/6/11
to OBSearch-Users
Hi,

I've come to know OBSearch while researching frameworks on similarity
search/indexing. I'm working on a project which involves indexing semi-
structured data.

I'm trying to use OBSearch but without examples it has proven to be a
bit difficult.

Are there more examples available besides the one on the site?

Kind regards,
Rodrigo

Arnoldo Muller

unread,
Feb 6, 2011, 7:16:22 PM2/6/11
to OBSearch-Users
Hello Rodrigo:

I totally I agree, we need more examples in the website.

In the meantime, have you tried?
http://code.google.com/p/obsearch/source/browse/trunk/src/main/java/net/obsearch/example/protein/SwissProtDemo.java

This is a example that works on Protein strings using the following
object:

http://code.google.com/p/obsearch/source/browse/trunk/src/main/java/net/obsearch/example/protein/Protein.java

We use the Liechtenstein distance to match protein strings.
Protein.java has all the logic required for matching strings.
SwissProtDemo has several methods:

create(): parses and loads Protein objects into the database.
search(): opens the index created in create and searches it using a
query file.

Those are the most important operations for OBSearch. If you want to
use the command line framework included you can also check:
http://code.google.com/p/obsearch/source/browse/trunk/src/main/java/net/obsearch/example/AbstractGHSExample.java
and:
http://code.google.com/p/obsearch/source/browse/trunk/src/main/java/net/obsearch/example/AbstractExampleGeneral.java

That hold the command line parsing logic of the program.

I am very happy to answer any question you may have, so please drop me
a line if you need more help.


Regards,

Arnoldo

Rodrigo Goncalves

unread,
Feb 6, 2011, 7:22:34 PM2/6/11
to obsearc...@googlegroups.com
Hi Arnoldo,

thanks for your prompt reply! I will look into your suggestions.

Kind regards,


Rodrigo Gonçalves
Mestre em Ciências da Computação - UFSC
Analista de Sistemas - Manager Systems


--
You received this message because you are subscribed to the Google Groups "OBSearch-Users" group.
To post to this group, send email to obsearc...@googlegroups.com.
To unsubscribe from this group, send email to obsearch-user...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/obsearch-users?hl=en.


Reply all
Reply to author
Forward
0 new messages