Skip to content

Commit dcee001

Browse files
committed
Small semgrex doc fix
1 parent 0de1865 commit dcee001

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/edu/stanford/nlp/semgraph/semgrex/NodePattern.java

+3-3
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ public class NodePattern extends SemgrexPattern {
2525
private final GraphRelation reln;
2626
private final boolean negDesc;
2727
/**
28-
* A hash map from a key to a pair (case_sensitive_pattern, case_insensitive_pattern)
28+
* A list of Attribute - key, case_sensitive_pattern, case_insensitive_pattern, negated
29+
*
2930
* If the type of the entry is a String, then string comparison is safe.
30-
* If the type is a Boolean, it will always either match or not match corresponding to the Boolean
31-
* value.
31+
* If the type is a Boolean, it will always either match or not match corresponding to the Boolean value.
3232
* Otherwise, the type will be a Pattern, and you must use Pattern.matches().
3333
*/
3434
private final List<Attribute> attributes;

0 commit comments

Comments
 (0)