edu.stanford.nlp.time
Class TimeExpressionExtractorFactory

java.lang.Object
  extended by edu.stanford.nlp.time.TimeExpressionExtractorFactory
All Implemented Interfaces:
Factory<TimeExpressionExtractor>, java.io.Serializable

public class TimeExpressionExtractorFactory
extends java.lang.Object
implements Factory<TimeExpressionExtractor>

Factory for creating TimeExpressionExtractor

Author:
Angel Chang
See Also:
Serialized Form

Field Summary
static boolean DEFAULT_EXTRACTOR_PRESENT
           
static java.lang.String DEFAULT_TIME_EXPRESSION_EXTRACTOR_CLASS
           
 
Constructor Summary
TimeExpressionExtractorFactory()
           
TimeExpressionExtractorFactory(java.lang.String className)
           
 
Method Summary
 TimeExpressionExtractor create()
          Creates and returns a new instance of the given type.
static TimeExpressionExtractor create(java.lang.String className)
           
static TimeExpressionExtractor createExtractor()
           
static boolean isDefaultExtractorPresent()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_TIME_EXPRESSION_EXTRACTOR_CLASS

public static final java.lang.String DEFAULT_TIME_EXPRESSION_EXTRACTOR_CLASS
See Also:
Constant Field Values

DEFAULT_EXTRACTOR_PRESENT

public static final boolean DEFAULT_EXTRACTOR_PRESENT
Constructor Detail

TimeExpressionExtractorFactory

public TimeExpressionExtractorFactory()

TimeExpressionExtractorFactory

public TimeExpressionExtractorFactory(java.lang.String className)
Method Detail

create

public TimeExpressionExtractor create()
Description copied from interface: Factory
Creates and returns a new instance of the given type.

Specified by:
create in interface Factory<TimeExpressionExtractor>
Returns:
A new instance of the type T

createExtractor

public static TimeExpressionExtractor createExtractor()

isDefaultExtractorPresent

public static boolean isDefaultExtractorPresent()

create

public static TimeExpressionExtractor create(java.lang.String className)


Stanford NLP Group