lv.gotika.engine
Class GothicAnalyzer.ResultTag

java.lang.Object
  extended by lv.gotika.engine.GothicAnalyzer.ResultTag
Enclosing class:
GothicAnalyzer

public static class GothicAnalyzer.ResultTag
extends Object

A set of tags that indicate different steps of analysis process. Used also for printing purposes.


Field Summary
static String ALIGN_CLOSE
          Closing tag, used in the aligned summary view.
static String ALIGN_OPEN
          Opening tag, used in the aligned summary view.
static String DELIMITER
          Delimiter symbol for intermediate results: Original word form; Transliterated word form; Lemma; Corresponding head word from the dictionary; Synonym (optionally).
static String DICT
          Word is found in the dictionary as is.
static String DIRECT
          Lucky try - the original word form is a valid lemma.
static String GUESS
          Lemma, guessed by the morphological analyzer.
static String LEMMA
          Lemma, found by the morphological analyzer.
static String ORIG
          The original word form.
static String SYN
          Suggestion for a synonym.
static String SOUNDEX
          Word has been accepted by the dictionary using fuzzy search.
static String TRANSLIT
          Transliteration equivalent.
 
Constructor Summary
GothicAnalyzer.ResultTag()
           
 
Method Summary
static void reload(Properties tags)
          Reloads values for the tag set.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

ORIG

public static String ORIG
The original word form.


TRANSLIT

public static String TRANSLIT
Transliteration equivalent.


LEMMA

public static String LEMMA
Lemma, found by the morphological analyzer.


GUESS

public static String GUESS
Lemma, guessed by the morphological analyzer.


DIRECT

public static String DIRECT
Lucky try - the original word form is a valid lemma.


DICT

public static String DICT
Word is found in the dictionary as is.


SOUNDEX

public static String SOUNDEX
Word has been accepted by the dictionary using fuzzy search.


SYN

public static String SYN
Suggestion for a synonym.


DELIMITER

public static String DELIMITER
Delimiter symbol for intermediate results:
  1. Original word form;
  2. Transliterated word form;
  3. Lemma;
  4. Corresponding head word from the dictionary;
  5. Synonym (optionally).


ALIGN_OPEN

public static String ALIGN_OPEN
Opening tag, used in the aligned summary view.


ALIGN_CLOSE

public static String ALIGN_CLOSE
Closing tag, used in the aligned summary view.

Constructor Detail

GothicAnalyzer.ResultTag

public GothicAnalyzer.ResultTag()
Method Detail

reload

public static void reload(Properties tags)
                   throws IllegalArgumentException
Reloads values for the tag set.

Parameters:
tags - a list of tag-value pairs.
Throws:
IllegalArgumentException - if some of the required tag-value pairs is not provided.