org.cogroo.util
Class TextUtils

java.lang.Object
  extended by org.cogroo.util.TextUtils

public class TextUtils
extends Object

The TextUtils class deals with the code prints.


Constructor Summary
TextUtils()
           
 
Method Summary
static String[][] additionalContext(List<Token> tokens, List<Analyzers> analyzers)
           
static String nicePrint(Document document)
           
static String[] tokensToString(List<Token> tokens)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TextUtils

public TextUtils()
Method Detail

tokensToString

public static String[] tokensToString(List<Token> tokens)

additionalContext

public static String[][] additionalContext(List<Token> tokens,
                                           List<Analyzers> analyzers)

nicePrint

public static String nicePrint(Document document)
Returns:
the String to be printed


Copyright © 2012-2013 CoGrOO. All Rights Reserved.