efxtools.sample.ae.helper
Class RegexTimeEn

java.lang.Object
  extended by efxtools.sample.ae.helper.RegexTimeEn

public class RegexTimeEn
extends java.lang.Object

Class that stores several regular expressions in the context of time expressions. These refer to the following categories:

The common use is just to match with the pattern for time subexpressions since this spans all the different parts defined by the categories given above.

Author:
Author of EfXTools

Field Summary
static java.lang.String DATE
          Expressions that specify a date.
static java.lang.String DATE_EXPRESSION
          Representations of dates as given by combinations of days, months and years possibly preceded by a prepositional term.
static java.lang.String PERIOD_EXPRESSION
          Expressions that consist of one or more connected period subexpressions possibly preceded by a prepositional term and/or a boundary term, and, if so, a filler word in between them.
static java.lang.String PERIOD_MONTH
          Terms for months as defined by the corresponding word list.
static java.lang.String PERIOD_REGULAR
          Terms for regular periods of time like years or quarters.
static java.lang.String PERIOD_RELATIVE
          Terms to specify relative period of time like "reported time" as defined by the corresponding word list.
static java.lang.String PERIOD_TERM
          Any terms to specify a period of time.
static java.lang.String PERIOD_TIME_EXPRESSION
          Expressions that specify a period of time.
static java.lang.String TIME_EXPRESSION
          Expressions that specify a date or a period of time.
static java.lang.String YEAR_TERM
          Numeric terms to specify a year.
 
Constructor Summary
RegexTimeEn()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PERIOD_REGULAR

public static final java.lang.String PERIOD_REGULAR
Terms for regular periods of time like years or quarters.

See Also:
Constant Field Values

PERIOD_MONTH

public static final java.lang.String PERIOD_MONTH
Terms for months as defined by the corresponding word list.


PERIOD_RELATIVE

public static final java.lang.String PERIOD_RELATIVE
Terms to specify relative period of time like "reported time" as defined by the corresponding word list.


PERIOD_TERM

public static final java.lang.String PERIOD_TERM
Any terms to specify a period of time.


YEAR_TERM

public static final java.lang.String YEAR_TERM
Numeric terms to specify a year.

See Also:
Constant Field Values

PERIOD_EXPRESSION

public static final java.lang.String PERIOD_EXPRESSION
Expressions that consist of one or more connected period subexpressions possibly preceded by a prepositional term and/or a boundary term, and, if so, a filler word in between them.


DATE_EXPRESSION

public static final java.lang.String DATE_EXPRESSION
Representations of dates as given by combinations of days, months and years possibly preceded by a prepositional term. Note that months may be specified in a numerical or a textual way.


TIME_EXPRESSION

public static final java.lang.String TIME_EXPRESSION
Expressions that specify a date or a period of time.


DATE

public static final java.lang.String DATE
Expressions that specify a date.


PERIOD_TIME_EXPRESSION

public static final java.lang.String PERIOD_TIME_EXPRESSION
Expressions that specify a period of time.

Constructor Detail

RegexTimeEn

public RegexTimeEn()