Jet.Parser
Class Sparkle
java.lang.Object
Jet.Parser.Sparkle
- public class Sparkle
- extends java.lang.Object
procedures for generating a set of syntactic dependency relations from a
document and comparing the generated set with a reference set of triples.
Evaluated for recall and precision of dependencies, like the Sparkle project.
The key for evaluating the dependencies takes the form of a file of
quadruples, of the form
sentence-number | head | relation | argument
the block of quadruples for a document must be preceded by a line of
the form
docid id
where id is the identifier of the document. Anything on
a line after a '#' is taken as a comment. Blank lines, and lines starting
with a '#', are ignored.
Field Summary |
static java.lang.String[] |
relations
the set of relations to be tested. |
Method Summary |
static void |
main(java.lang.String[] args)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
relations
public static java.lang.String[] relations
- the set of relations to be tested.
Sparkle
public Sparkle()
main
public static void main(java.lang.String[] args)
throws java.io.IOException
- Throws:
java.io.IOException