Parsing Engine

danbikel.parser.util
Class TrainerEventToCollins

java.lang.Object
  extended by danbikel.parser.util.TrainerEventToCollins

public class TrainerEventToCollins
extends Object

A class to convert TrainerEvent instances to String instances of the form produced by Mike Collins’ parser.

See Also:
Settings.outputCollins

Field Summary
static Symbol miscArg
           
static Symbol npArg
           
static Symbol sArg
           
static Symbol sbarArg
           
static Symbol startSym
           
static Symbol stopSym
           
static Symbol topSym
           
static Symbol vpArg
           
 
Constructor Summary
TrainerEventToCollins()
           
 
Method Summary
static String headEventToCollins(HeadEvent headEvent)
           
static String modEventToCollins(ModifierEvent modEvent)
           
static String subcatToCollins(Subcat subcat, boolean withGap)
           
static String trainerEventToCollins(TrainerEvent event)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

topSym

public static Symbol topSym

startSym

public static Symbol startSym

stopSym

public static Symbol stopSym

npArg

public static Symbol npArg

sbarArg

public static Symbol sbarArg

sArg

public static Symbol sArg

vpArg

public static Symbol vpArg

miscArg

public static Symbol miscArg
Constructor Detail

TrainerEventToCollins

public TrainerEventToCollins()
Method Detail

subcatToCollins

public static String subcatToCollins(Subcat subcat,
                                     boolean withGap)

modEventToCollins

public static String modEventToCollins(ModifierEvent modEvent)

headEventToCollins

public static String headEventToCollins(HeadEvent headEvent)

trainerEventToCollins

public static String trainerEventToCollins(TrainerEvent event)

Parsing Engine

Author: Dan Bikel.