edu.stanford.nlp.util
Class Numberer

java.lang.Object
  |
  +--edu.stanford.nlp.util.Numberer

public class Numberer
extends Object


Constructor Summary
Numberer()
           
 
Method Summary
static Numberer getGlobalNumberer(String type)
           
 boolean hasSeen(Object o)
           
 int number(Object o)
           
static int number(String type, Object o)
           
 Object object(int n)
           
static Object object(String type, int n)
           
 String toString()
           
 int total()
           
static int translate(String sourceType, String targetType, int n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Numberer

public Numberer()
Method Detail

getGlobalNumberer

public static Numberer getGlobalNumberer(String type)

number

public static int number(String type,
                         Object o)

object

public static Object object(String type,
                            int n)

translate

public static int translate(String sourceType,
                            String targetType,
                            int n)

total

public int total()

hasSeen

public boolean hasSeen(Object o)

number

public int number(Object o)

object

public Object object(int n)

toString

public String toString()
Overrides:
toString in class Object


Stanford NLP Group