7d42358127d5fd437b82bf3aa5769a96947dd17a
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 6
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 2 | ||
Rename Variable object : Optional<List<CoreLabel>> to objectSpan : Optional<List<CoreLabel>> in method public segment(parse SemanticGraph, confidence Optional<Double>) : Optional<RelationTriple> in class edu.stanford.nlp.ie.util.RelationTriple | From | To | |
Rename Variable subject : Optional<List<CoreLabel>> to subjectSpan : Optional<List<CoreLabel>> in method public segment(parse SemanticGraph, confidence Optional<Double>) : Optional<RelationTriple> in class edu.stanford.nlp.ie.util.RelationTriple | From | To | |
Change Return Type | 2 | ||
Change Return Type State to Optional<State> in method public applyTo(tree SemanticGraph, source State, outgoingEdge SemanticGraphEdge, subjectOrNull SemanticGraphEdge, ppOrNull SemanticGraphEdge) : Optional<State> in class edu.stanford.nlp.naturalli.ClauseSearcher.Action | From | To | |
Change Return Type void to List<SemanticGraphEdge> in method private cleanTree(tree SemanticGraph) : List<SemanticGraphEdge> in class edu.stanford.nlp.naturalli.ClauseSearcher | From | To | |
Merge Variable | 1 | ||
Merge Variable [subject : Optional<List<CoreLabel>>, object : Optional<List<CoreLabel>>] to m : SemgrexMatcher in method public segment(parse SemanticGraph, confidence Optional<Double>) : Optional<RelationTriple> in class edu.stanford.nlp.ie.util.RelationTriple | From | To | |
Change Variable Type | 1 | ||
Change Variable Type candidate : State to candidate : Optional<State> in method public search(root IndexedWord, candidateFragments Consumer<Triple<Double,Counter<String>,Supplier<SentenceFragment>>>, weights Counter<String>, featurizer Function<Triple<State,Action,State>,Counter<String>>, actionSpace Collection<Action>) : void in class edu.stanford.nlp.naturalli.ClauseSearcher | From | To |