public class Pat extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
trace
if true, write a message to the Console whenever a pattern
adds an annotation to a Document.
|
| Constructor and Description |
|---|
Pat() |
| Modifier and Type | Method and Description |
|---|---|
static HashMap |
matchAnnotations(Annotation ann1,
Annotation ann2,
HashMap bindings)
determines whether annotations ann1 and ann2 can be
matched (unified), consistent with variable bindings bindings.
|
static HashMap |
matchFS(FeatureSet fs1,
FeatureSet fs2,
HashMap bindings)
determines whether feature sets fs1 and fs2 can be
matched (unified), consistent with variable bindings bindings.
|
public static boolean trace
public static HashMap matchAnnotations(Annotation ann1, Annotation ann2, HashMap bindings)
public static HashMap matchFS(FeatureSet fs1, FeatureSet fs2, HashMap bindings)
Copyright © 2016 New York University. All rights reserved.