hu.birot.OTKit.performance
Class Grammaticality

java.lang.Object
  extended by hu.birot.OTKit.performance.Grammaticality

public class Grammaticality
extends java.lang.Object

Making grammaticality judgments.


Constructor Summary
Grammaticality()
           
 
Method Summary
static boolean judgment(Grammar G, Candidate cand)
          Make grammaticality judgment about a candidate, with regard to a grammar.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Grammaticality

public Grammaticality()
Method Detail

judgment

public static boolean judgment(Grammar G,
                               Candidate cand)
Make grammaticality judgment about a candidate, with regard to a grammar.

Parameters:
G - Grammar evaluating the candidate.
cand - Candidate to be evaluated.
Returns:
true if and only if cand is contained by the set of grammatical (most harmonic) elements generated by G.gen from cand.uf, with respect to target function G.hierarchy.