lv.gotika.engine
Class GothicAnalyzer.ResultView

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

public static class GothicAnalyzer.ResultView
extends Object

A set of flags that indicate different views (output streams) of the analysis results. Used for printing purposes.


Field Summary
static String ALIGNED
          Print out an aligned summary.
static String MAIN
          Print out the full analysis results.
static String TRANSLITERATED
          Print out a transliterated text.
static String UNKNOWN
          Print out all the unrecognized words.
 
Constructor Summary
GothicAnalyzer.ResultView()
           
 
Method Summary
static boolean isValidResultView(String s)
          Checks whether the given string is a valid ResultView flag.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

MAIN

public static final String MAIN
Print out the full analysis results.

Format: a new line for each result (including all the intermediate results) for each running word.

See Also:
Constant Field Values

ALIGNED

public static final String ALIGNED
Print out an aligned summary.

Format: word_1[guess_1,..,guess_n] .. word_n[guess_1,..,guess_n].

See Also:
Constant Field Values

TRANSLITERATED

public static final String TRANSLITERATED
Print out a transliterated text.

See Also:
Constant Field Values

UNKNOWN

public static final String UNKNOWN
Print out all the unrecognized words.

See Also:
Constant Field Values
Constructor Detail

GothicAnalyzer.ResultView

public GothicAnalyzer.ResultView()
Method Detail

isValidResultView

public static boolean isValidResultView(String s)
Checks whether the given string is a valid ResultView flag.

Parameters:
s - a string.
Returns:
true if it is a valid flag; false otherwise.