edu.cmu.minorthird.text.learn
Class ExtractorNameMatcher

java.lang.Object
  extended by edu.cmu.minorthird.text.learn.ExtractorNameMatcher

public class ExtractorNameMatcher
extends java.lang.Object

A name matching scheme on top of a given extractor, fit for spanTypes depicting personal names. This class applies a given annotator. Then, it uses the output extractor's dictionary of predicted names and over-rides some of the original predictions, using the NameMatcher scheme. This procedure increases recall, at low cost of precision.

Author:
Richard Wang, edited by Einat Minkov

Nested Class Summary
 class ExtractorNameMatcher.MyCLP
           
 
Constructor Summary
ExtractorNameMatcher()
           
ExtractorNameMatcher(MonotonicTextLabels labels)
           
 
Method Summary
 void doMain()
           
 CommandLineProcessor getCLP()
           
 double getTokenPrecision()
           
 double getTokenRecall()
           
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
 

Constructor Detail

ExtractorNameMatcher

public ExtractorNameMatcher(MonotonicTextLabels labels)

ExtractorNameMatcher

public ExtractorNameMatcher()
Method Detail

getTokenPrecision

public double getTokenPrecision()

getTokenRecall

public double getTokenRecall()

getCLP

public CommandLineProcessor getCLP()

doMain

public void doMain()

main

public static void main(java.lang.String[] args)