opennlp.leo.prolog
Class Util

java.lang.Object
  |
  +--opennlp.leo.prolog.Util

public class Util
extends java.lang.Object


Constructor Summary
Util()
           
 
Method Summary
static java.lang.String join(PTerm[] ptl)
           
static java.lang.String join(PTerm[] ptl, java.lang.String op)
           
static java.lang.String join(java.lang.String[] sa)
           
static java.lang.String join(java.lang.String[] sa, java.lang.String delim)
           
static java.lang.String printAll(java.lang.String[] sa)
           
static java.lang.String removeBrackets(java.lang.String s)
           
static java.lang.String removePeriod(java.lang.String s)
           
static java.lang.String[] split(java.lang.String s)
           
static java.lang.String[] split(java.lang.String s, java.lang.String delim)
           
static java.lang.String toPrologList(java.lang.String s)
           
static java.lang.String toPrologList(java.lang.String[] sa)
           
static PTerm[] toPTermArray(java.util.List l)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Util

public Util()
Method Detail

removePeriod

public static java.lang.String removePeriod(java.lang.String s)

removeBrackets

public static java.lang.String removeBrackets(java.lang.String s)

toPrologList

public static java.lang.String toPrologList(java.lang.String s)

toPrologList

public static java.lang.String toPrologList(java.lang.String[] sa)

split

public static java.lang.String[] split(java.lang.String s)

split

public static java.lang.String[] split(java.lang.String s,
                                       java.lang.String delim)

join

public static java.lang.String join(java.lang.String[] sa)

join

public static java.lang.String join(java.lang.String[] sa,
                                    java.lang.String delim)

join

public static java.lang.String join(PTerm[] ptl)

join

public static java.lang.String join(PTerm[] ptl,
                                    java.lang.String op)

toPTermArray

public static PTerm[] toPTermArray(java.util.List l)

printAll

public static java.lang.String printAll(java.lang.String[] sa)


Copyright 2002 Research Institute for Advanced Computer Science. All Rights Reserved.