| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectemolib.wsd.simlib.IndexBroker
public class IndexBroker
Title: Java WordNet Similarity
Description: Assesses the semantic similarity between a pair of words as described in Seco, N., Veale, T., Hayes, J. (2004) "An Intrinsic Information Content Metric for Semantic Similarity in WordNet". In Proceedings of the European Conference of Artificial Intelligence
This Class interfaces with the index files facilitating word and synset lookups
Copyright: Nuno Seco Copyright (c) 2004
| Field Summary | |
|---|---|
| static java.lang.String | HYPERNYMA static constant that represents the field name that holds the list of hypernym offsets of each document. | 
| static java.lang.String | INFORMATION_CONTENTA static constant that represents the field name that holds the information Content value of each document. | 
| static java.lang.String | SYNSETA static constant that represents the field name that holds the offset value of each document. | 
| static java.lang.String | WORDSA static constant that represents the field name that holds the list of words of each document. | 
| Constructor Summary | |
|---|---|
| IndexBroker()The Constructor. | |
| IndexBroker(java.lang.String wnIndexPath)Modified: 1-Feb-2009 By: atrilla | |
| Method Summary | |
|---|---|
|  org.apache.lucene.search.Hits | getHits(java.lang.String query)Returns the list of documents that fulfill the given query. | 
|  IndexBroker | getInstance()Static method that allows other objects to aquire a reference to an existing broker. | 
|  IndexBroker | getInstance(java.lang.String wnIndexPath)Modified: 1-Feb-2009 By: atrilla | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Field Detail | 
|---|
public static final java.lang.String SYNSET
public static final java.lang.String WORDS
public static final java.lang.String HYPERNYM
public static final java.lang.String INFORMATION_CONTENT
| Constructor Detail | 
|---|
public IndexBroker()
public IndexBroker(java.lang.String wnIndexPath)
| Method Detail | 
|---|
public IndexBroker getInstance()
public IndexBroker getInstance(java.lang.String wnIndexPath)
public org.apache.lucene.search.Hits getHits(java.lang.String query)
query - String  The query to be searched
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||