File tree Expand file tree Collapse file tree 9 files changed +9
-8
lines changed Expand file tree Collapse file tree 9 files changed +9
-8
lines changed Original file line number Diff line number Diff line change 6
6
import edu .stanford .nlp .ling .IndexedWord ;
7
7
import edu .stanford .nlp .semgraph .SemanticGraph ;
8
8
import edu .stanford .nlp .semgraph .SemanticGraphEdge ;
9
- import edu .stanford .nlp .trees . tregex .VariableStrings ;
9
+ import edu .stanford .nlp .util .VariableStrings ;
10
10
11
11
/** @author Chloe Kiddon */
12
12
public class CoordinationPattern extends SemgrexPattern {
Original file line number Diff line number Diff line change 12
12
import edu .stanford .nlp .ling .IndexedWord ;
13
13
import edu .stanford .nlp .semgraph .SemanticGraph ;
14
14
import edu .stanford .nlp .semgraph .SemanticGraphEdge ;
15
- import edu .stanford .nlp .trees .tregex .VariableStrings ;
16
15
import edu .stanford .nlp .util .Pair ;
17
16
import edu .stanford .nlp .util .Quadruple ;
18
17
import edu .stanford .nlp .util .Triple ;
18
+ import edu .stanford .nlp .util .VariableStrings ;
19
19
import edu .stanford .nlp .util .logging .Redwood ;
20
20
21
21
public class NodePattern extends SemgrexPattern {
Original file line number Diff line number Diff line change 3
3
import edu .stanford .nlp .graph .CyclicGraphException ;
4
4
import edu .stanford .nlp .semgraph .SemanticGraph ;
5
5
import edu .stanford .nlp .semgraph .SemanticGraphEdge ;
6
- import edu .stanford .nlp .trees .tregex .VariableStrings ;
7
6
import edu .stanford .nlp .ling .*;
7
+ import edu .stanford .nlp .util .VariableStrings ;
8
8
import edu .stanford .nlp .util .logging .Redwood ;
9
9
10
10
import java .util .*;
Original file line number Diff line number Diff line change 16
16
import edu .stanford .nlp .trees .MemoryTreebank ;
17
17
import edu .stanford .nlp .trees .Tree ;
18
18
import edu .stanford .nlp .trees .TreeNormalizer ;
19
- import edu .stanford .nlp .trees .tregex .VariableStrings ;
20
19
import edu .stanford .nlp .trees .ud .CoNLLUDocumentWriter ;
21
20
import edu .stanford .nlp .util .ArrayCoreMap ;
22
21
import edu .stanford .nlp .util .CoreMap ;
23
22
import edu .stanford .nlp .util .Generics ;
24
23
import edu .stanford .nlp .util .Pair ;
25
24
import edu .stanford .nlp .util .StringUtils ;
25
+ import edu .stanford .nlp .util .VariableStrings ;
26
26
import edu .stanford .nlp .util .logging .Redwood ;
27
27
28
28
/**
Original file line number Diff line number Diff line change 2
2
3
3
import edu .stanford .nlp .trees .HeadFinder ;
4
4
import edu .stanford .nlp .trees .Tree ;
5
+ import edu .stanford .nlp .util .VariableStrings ;
5
6
6
7
import java .util .Iterator ;
7
8
import java .util .List ;
Original file line number Diff line number Diff line change 6
6
import edu .stanford .nlp .trees .Tree ;
7
7
import edu .stanford .nlp .util .ArrayStringFilter ;
8
8
import edu .stanford .nlp .util .Pair ;
9
+ import edu .stanford .nlp .util .VariableStrings ;
9
10
import java .util .function .Predicate ;
10
11
11
12
import java .util .*;
Original file line number Diff line number Diff line change 33
33
import edu .stanford .nlp .trees .HasParent ;
34
34
import edu .stanford .nlp .trees .HeadFinder ;
35
35
import edu .stanford .nlp .trees .Tree ;
36
+ import edu .stanford .nlp .util .VariableStrings ;
36
37
37
38
/**
38
39
* A TregexMatcher can be used to match a {@link TregexPattern} against a {@link edu.stanford.nlp.trees.Tree}.
Original file line number Diff line number Diff line change 42
42
import edu .stanford .nlp .util .Pair ;
43
43
import edu .stanford .nlp .util .StringUtils ;
44
44
import edu .stanford .nlp .util .Timing ;
45
+ import edu .stanford .nlp .util .VariableStrings ;
45
46
import edu .stanford .nlp .util .logging .Redwood ;
46
47
47
48
Original file line number Diff line number Diff line change 1
- package edu .stanford .nlp .trees . tregex ;
1
+ package edu .stanford .nlp .util ;
2
2
3
3
import edu .stanford .nlp .stats .IntCounter ;
4
4
import edu .stanford .nlp .util .ArrayMap ;
8
8
import java .util .Map ;
9
9
10
10
/** A class that takes care of the stuff necessary for variable strings.
11
- *
12
- *<br>
13
- * TODO: move this to util?
14
11
*
15
12
* @author Roger Levy (rog@nlp.stanford.edu)
16
13
*/
You can’t perform that action at this time.
0 commit comments