de.dfki.lt.hog
Class Query
java.lang.Object
de.dfki.lt.hog.Query
public class Query
- extends java.lang.Object
A small class for storing query specific data such as span and depth. Contains same
field values as analyse methods of MoCoMan
which there are:
a session ID, an annotation ID, a span and a depth
To test whether an incoming query has been processed already, MoCoMan
calls MoCoMan.queryProcessed(java.lang.String, java.lang.String, int, int, int)
for all Query
objects in its QueryQueue.
Constructor Summary |
Query(java.lang.String sessionID,
java.lang.String annotationID,
int startSpan,
int endSpan,
int depth)
Initialises this Query object with given parameters equal to those of
analyse() methods MoCoMan provides. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Query
public Query(java.lang.String sessionID,
java.lang.String annotationID,
int startSpan,
int endSpan,
int depth)
- Initialises this
Query
object with given parameters equal to those of
analyse()
methods MoCoMan
provides.
- Parameters:
sessionID
- identification of current sessionannotationID
- identification of processed annotationstartSpan
- first character position in given annotationendSpan
- last character position in given annotationdepth
- depth of current analysis