edu.cmu.minorthird.text.mixup
Class Mixup.MixupTokenizer

java.lang.Object
  extended by edu.cmu.minorthird.text.mixup.Mixup.MixupTokenizer
Enclosing class:
Mixup

public static class Mixup.MixupTokenizer
extends java.lang.Object


Field Summary
 java.lang.String input
           
 java.util.regex.Matcher matcher
           
 int nextCursor
           
 java.lang.String nextToken
           
 
Constructor Summary
Mixup.MixupTokenizer(java.lang.String input)
           
 
Method Summary
 boolean advance()
           
 java.lang.String advance(java.util.Set<java.lang.String> set)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

input

public java.lang.String input

matcher

public java.util.regex.Matcher matcher

nextToken

public java.lang.String nextToken

nextCursor

public int nextCursor
Constructor Detail

Mixup.MixupTokenizer

public Mixup.MixupTokenizer(java.lang.String input)
Method Detail

advance

public boolean advance()

advance

public java.lang.String advance(java.util.Set<java.lang.String> set)
                         throws Mixup.ParseException
Throws:
Mixup.ParseException