|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.dfki.lt.tools.tokenizer.Description
de.dfki.lt.tools.tokenizer.PunctDescription
PunctDescription
extends Description
. It
manages the content of a punctuation description file.
Field Summary | |
protected static java.lang.String |
ALL_RULE
This is the name of the all punctuation rule. |
protected static java.lang.String |
CLITIC_RULE
This is the name of the clitic punctuation rule. |
protected static java.lang.String |
CLOSE_PUNCT
This is the class name for closing punctuation. |
protected static java.lang.String |
INTERNAL_RULE
This is the name of the internal punctuation rule. |
protected static java.lang.String |
INTERNAL_TU_RULE
This is the name of the sentence internal punctuation rule. |
protected static java.lang.String |
NON_BREAK_LEFT_RULE
This is the name of the non-breaking left punctuation rule. |
protected static java.lang.String |
NON_BREAK_RIGHT_RULE
This is the name of the non-breaking right punctuation rule. |
protected static java.lang.String |
OPEN_CLOSE_PUNCT
This is the class name for ambiguous open/close punctuation. |
protected static java.lang.String |
OPEN_PUNCT
This is the class name for opening punctuation. |
Fields inherited from class de.dfki.lt.tools.tokenizer.Description |
DEF_CLASS, DEF_REGEXP, definitionsMap, DEFS, FACTORY, LIST_ENCODING, LIST_FILE, LISTS, listsMap, regExpMap, RULES, rulesMap |
Constructor Summary | |
PunctDescription(org.w3c.dom.Document punctDescr,
java.util.Set classes)
This creates a new instance of PunctDescription for
the punctuation description contained in the dom
Document punctDescr . |
Methods inherited from class de.dfki.lt.tools.tokenizer.Description |
getDefinitionsMap, getListsMap, getRegExpMap, getRulesMap, loadDefinitions, loadLists, loadRules, setDefinitionsMap, setListsMap, setRegExpMap, setRulesMap |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected static final java.lang.String ALL_RULE
protected static final java.lang.String CLITIC_RULE
protected static final java.lang.String INTERNAL_RULE
protected static final java.lang.String NON_BREAK_LEFT_RULE
protected static final java.lang.String NON_BREAK_RIGHT_RULE
protected static final java.lang.String INTERNAL_TU_RULE
protected static final java.lang.String OPEN_CLOSE_PUNCT
protected static final java.lang.String OPEN_PUNCT
protected static final java.lang.String CLOSE_PUNCT
Constructor Detail |
public PunctDescription(org.w3c.dom.Document punctDescr, java.util.Set classes)
PunctDescription
for
the punctuation description contained in the dom
Document punctDescr
.
punctDescr
- a dom Document
with the
punctuation descriptionclasses
- a Set
with the defined classes, used
for validation
InitializationException
- if an error occurs
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |