|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectedu.columbia.cs.cg.prdualrank.searchengine.querygenerator.QueryGenerator<Q>
public abstract class QueryGenerator<Q>
This class is used for our implementation of:
"Searching Patterns for Relation Extraction over the Web: Rediscovering the Pattern-Relation Duality" . Y. Fang and K. C.-C. Chang. In WSDM, pages 825-834, 2011.
For further information, WSDM 2011 Conference Website .
Description
Generation of queries for specific search Engines. The implementation of the Search Engines and Query Generator used must correspond in their implementation to obtain the
expected results. To understand how the queries are generated please refer to Algorithm PatternSearch(To,S,E) in Figure 9 on Section 5 of the paper mentioned here.
Constructor Summary | |
---|---|
QueryGenerator()
|
Method Summary | |
---|---|
abstract Q |
generateQuery(Entity role)
Generate query based on a specific entity |
abstract Q |
generateQuery(Relationship relationship)
Generate query based on a relationship (tuple) |
abstract Q |
generateQuery(SearchPattern<Document,TokenizedDocument> pattern)
Generate query based on a pattern that matches documents (i.e. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public QueryGenerator()
Method Detail |
---|
public abstract Q generateQuery(Relationship relationship)
relationship
- the relationship
public abstract Q generateQuery(Entity role)
role
- the role
public abstract Q generateQuery(SearchPattern<Document,TokenizedDocument> pattern)
pattern
- the pattern
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |