de.dfki.lt.tools.tokenizer
Class CliticsDescription

java.lang.Object
  extended byde.dfki.lt.tools.tokenizer.Description
      extended byde.dfki.lt.tools.tokenizer.CliticsDescription

public class CliticsDescription
extends Description

CliticsDescription extends Description. It manages the content of a clitics description file.

Version:
$Id: CliticsDescription.java,v 1.5 2005/04/12 08:47:37 steffen Exp $
Author:
Joerg Steffen, DFKI

Field Summary
protected static java.lang.String ENCLITIC_RULE
          This is the name of the enclitic rule.
protected static java.lang.String PROCLITIC_RULE
          This is the name of the proclitic rule.
 
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
CliticsDescription(org.w3c.dom.Document clitDescr, java.util.Set classes)
          This creates a new instance of CliticsDescription for the clitics description contained in the dom Document clitDescr.
 
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

PROCLITIC_RULE

protected static final java.lang.String PROCLITIC_RULE
This is the name of the proclitic rule.

See Also:
Constant Field Values

ENCLITIC_RULE

protected static final java.lang.String ENCLITIC_RULE
This is the name of the enclitic rule.

See Also:
Constant Field Values
Constructor Detail

CliticsDescription

public CliticsDescription(org.w3c.dom.Document clitDescr,
                          java.util.Set classes)
This creates a new instance of CliticsDescription for the clitics description contained in the dom Document clitDescr.

Parameters:
clitDescr - a dom Document with the clitics description
classes - a Set with the defined classes, used for validation
Throws:
InitializationException - if an error occurs