hu.birot.OTKit.otBuildingBlocks
Class Grammar

java.lang.Object
  extended by hu.birot.OTKit.otBuildingBlocks.Grammar
Direct Known Subclasses:
MetricalStress, StringGrammar

public class Grammar
extends java.lang.Object

Realizes a grammar, that is, a package containing a Gen and a Hierarchy (from which Eval will follow), as well as possibly a base and a neighborhood structure.

In package grammarExamples you will find extensions of this class, which realize specific linguistic models or phenomena. You can borrow those ready-made examples, or implement your own Grammar.


Field Summary
 MapForm base
           
 Gen gen
           
 Hierarchy hierarchy
           
 Topology topology
           
 java.lang.String type
           
 MapForm utter
           
 
Constructor Summary
Grammar()
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

type

public java.lang.String type

base

public MapForm base

gen

public Gen gen

topology

public Topology topology

utter

public MapForm utter

hierarchy

public Hierarchy hierarchy
Constructor Detail

Grammar

public Grammar()