ABL4J (Alignment Based Learning for Java) - 0.9.7

org.schwiebert.abl4j.util
Class AblProperties

java.lang.Object
  extended by org.schwiebert.abl4j.util.AblProperties

public class AblProperties
extends Object

Abl4J is configured by modifying properties stored in PropertiesMap during the initialization within ABLInitializer. This class lists all property names used within Abl4J.

Author:
sschwieb
See Also:
ABLInitializer

Field Summary
static String ALIGN_TYPE
          Chosen alignment (defaults to AlignType.AA).
static String CLUSTER_METHOD
          The class that implements ClusterMethod TODO: No default!
static String COMPARISM_MODE
          AllAlignmentsMethod-Flag: If true, LinkLists will be sorted before they are processed.
static String COMPATIBILITY_MODE
          If true, the algorithms are forced to produce exactly the same output as the original C++ version of ABL.
static String CONSTITUENT_CLASS
          A class that implements IConstituent.
static String EXCLUDE_EMPTY
          Exclude empty hypotheses (where B == E).
static String EXHAUSTIVE
          Do exhaustive comparisons: N(N-1)/2.
static String INPUT_ENCODING
          The encoding of the input stream.
static String INPUT_FILE
          The path to the input file.
static String INPUT_IGNORE_ANNOTATIONS
          If true, annotations found in the input are ignored (helpful if comparing results).
static String INPUT_STREAM
           
static String MERGE_METHOD
          The class that implements MergeMethod TODO: No default!
static String NO_MERGE
          Nomerge flag.
static String OUTPUT_ENCODING
          The encoding of the output stream.
static String OUTPUT_FILE
          The path to the output file.
static String OUTPUT_STREAM
           
static String PART_TYPE
          Chosen part of the sentences that should be hypotheses.
private static String PREFIX
           
static String PRESERVE
          Run Select in preserve mode.
static String READER_CLASS
          The name of a class that implements ITreebankReader.
static String RESET_UPPER_NT
           
static String SEED
          Random seed.
static String SELECT_METHOD
          All possible selection methods.
static String SENTENCE_CLASS
          A class that implements ISentence.
static String SERIALISATION_VISITOR
          The serialization visitor used when serializing a treebank.
static String THREADS
          The number of threads used in parallel parts of ABL4J.
static String TREE_CLASS
          A class that implements ITree.
static String TREEBANK_CLASS
          A class that implements ITreeBank.
static String VERBOSE
          Print aligning information.
static String WORD_CLASS
          A class that implements IWord.
static String WORD_MAPPING
           
static String WRITER_CLASS
          The name of a class that implements ITreebankWriter.
 
Constructor Summary
AblProperties()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREFIX

private static final String PREFIX
See Also:
Constant Field Values

INPUT_FILE

public static final String INPUT_FILE
The path to the input file. If this property is not set, System.in is used as input source.

See Also:
Constant Field Values

OUTPUT_FILE

public static final String OUTPUT_FILE
The path to the output file. If this property is not set, System.out is used as output destination.

See Also:
Constant Field Values

ALIGN_TYPE

public static final String ALIGN_TYPE
Chosen alignment (defaults to AlignType.AA).

See Also:
Constant Field Values

PART_TYPE

public static final String PART_TYPE
Chosen part of the sentences that should be hypotheses. (default to PartType.UNEQUAL)

See Also:
Constant Field Values

EXCLUDE_EMPTY

public static final String EXCLUDE_EMPTY
Exclude empty hypotheses (where B == E). Default is false.

See Also:
Constant Field Values

NO_MERGE

public static final String NO_MERGE
Nomerge flag. Default is false.

See Also:
Constant Field Values

COMPATIBILITY_MODE

public static final String COMPATIBILITY_MODE
If true, the algorithms are forced to produce exactly the same output as the original C++ version of ABL. Default is false.

See Also:
Constant Field Values

SELECT_METHOD

public static final String SELECT_METHOD
All possible selection methods. Descriptions taken from ABL Reference Guide, version 1.0 alpha, p. 16 FIRST A non-probablistic method that builds upon the assumption that a hypothesis that is learned earlier is always correct. This means that newly learned hypotheses that overlap with older ones are considered to be incorrect, and thus should be removed.

TERMS The method leaf (or terms) computes the probability of a hypothesis by counting the number of times the particular words of the hypothesis have occurred in the learned text as a hypothesis, divided by the total number of hypotheses.

CONST In addition to only consider the word of the sentence delimited by the hypothesis as in the method leaf, this model computes the probability based on the words of the hypothesis and its type label. Default is CONST.

See Also:
Constant Field Values

READER_CLASS

public static final String READER_CLASS
The name of a class that implements ITreebankReader.

See Also:
Constant Field Values

WRITER_CLASS

public static final String WRITER_CLASS
The name of a class that implements ITreebankWriter.

See Also:
Constant Field Values

SEED

public static final String SEED
Random seed. Default is 0. Don't confuse with SED or SEEED.

See Also:
Constant Field Values

VERBOSE

public static final String VERBOSE
Print aligning information. Default is false.

See Also:
Constant Field Values

EXHAUSTIVE

public static final String EXHAUSTIVE
Do exhaustive comparisons: N(N-1)/2. Default is false.

See Also:
Constant Field Values

SERIALISATION_VISITOR

public static final String SERIALISATION_VISITOR
The serialization visitor used when serializing a treebank. Default is PlainTextSerializationVisitor.

See Also:
of {@link ISerializationVisitor}, Constant Field Values

PRESERVE

public static final String PRESERVE
Run Select in preserve mode. Default is false.

See Also:
Constant Field Values

CLUSTER_METHOD

public static final String CLUSTER_METHOD
The class that implements ClusterMethod TODO: No default!

See Also:
Constant Field Values

MERGE_METHOD

public static final String MERGE_METHOD
The class that implements MergeMethod TODO: No default!

See Also:
Constant Field Values

INPUT_ENCODING

public static final String INPUT_ENCODING
The encoding of the input stream. Default is "UTF-8".

See Also:
Constant Field Values

OUTPUT_ENCODING

public static final String OUTPUT_ENCODING
The encoding of the output stream. Default is "UTF-8".

See Also:
Constant Field Values

INPUT_IGNORE_ANNOTATIONS

public static final String INPUT_IGNORE_ANNOTATIONS
If true, annotations found in the input are ignored (helpful if comparing results). Default is false.

See Also:
Constant Field Values

THREADS

public static final String THREADS
The number of threads used in parallel parts of ABL4J. Default is 1.

See Also:
Constant Field Values

COMPARISM_MODE

public static final String COMPARISM_MODE
AllAlignmentsMethod-Flag: If true, LinkLists will be sorted before they are processed. The sorting should be lexicographically, resulting in a processing order similar to c++ order. This is required only to compare this algorithm with c++ version, therefore, it can be disabled...

See Also:
Constant Field Values

CONSTITUENT_CLASS

public static final String CONSTITUENT_CLASS
A class that implements IConstituent. Default is Constituent.

See Also:
Constant Field Values

SENTENCE_CLASS

public static final String SENTENCE_CLASS
A class that implements ISentence. Default is Sentence.

See Also:
Constant Field Values

TREEBANK_CLASS

public static final String TREEBANK_CLASS
A class that implements ITreeBank. Default is TreeBank.

See Also:
Constant Field Values

WORD_CLASS

public static final String WORD_CLASS
A class that implements IWord. Default is Word.

See Also:
Constant Field Values

TREE_CLASS

public static final String TREE_CLASS
A class that implements ITree. Default is Tree.

See Also:
Constant Field Values

WORD_MAPPING

public static final String WORD_MAPPING
See Also:
Constant Field Values

RESET_UPPER_NT

public static final String RESET_UPPER_NT
See Also:
Constant Field Values

INPUT_STREAM

public static final String INPUT_STREAM
See Also:
Constant Field Values

OUTPUT_STREAM

public static final String OUTPUT_STREAM
See Also:
Constant Field Values
Constructor Detail

AblProperties

public AblProperties()

ABL4J (Alignment Based Learning for Java) - 0.9.7

© 2007 Stephan Schwiebert