c2f4e0c162dc7bbb84bf5dd12998fedca784c7a4
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 5
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 2 | ||
Rename Variable mockPrep : CoreLabel to mock : CoreLabel in method private mockNode(toCopy CoreLabel, offset int, word String, POS String) : CoreLabel in class edu.stanford.nlp.ie.util.RelationTriple | From | To | |
Rename Variable mockAnd : CoreLabel to mock : CoreLabel in method private mockNode(toCopy CoreLabel, offset int, word String, POS String) : CoreLabel in class edu.stanford.nlp.ie.util.RelationTriple | From | To | |
Extract Variable | 1 | ||
Extract Variable results : List<SearchResult> in method public annotateSentence(sentence CoreMap) : void from class edu.stanford.nlp.naturalli.OpenIE | From | To | |
Extract Method | 2 | ||
Extract Method private mockNode(toCopy CoreLabel, offset int, word String, POS String) : CoreLabel extracted from private getValidChunk(parse SemanticGraph, root IndexedWord, validArcs Set<String>) : Optional<List<CoreLabel>> in class edu.stanford.nlp.ie.util.RelationTriple | From | To | |
Extract Method private mockNode(toCopy CoreLabel, offset int, word String, POS String) : CoreLabel extracted from public segment(parse SemanticGraph) : Optional<RelationTriple> in class edu.stanford.nlp.ie.util.RelationTriple | From | To | |
Rename Parameter | 2 | ||
Rename Parameter semanticGraphEdges : Iterable<SemanticGraphEdge> to justDeleted : Iterable<SemanticGraphEdge> in method private aggregateDeletedEdges(state SearchState, justDeleted Iterable<SemanticGraphEdge>, otherEdges Iterable<String>) : List<String> in class edu.stanford.nlp.naturalli.OpenIE | From | To | |
Rename Parameter root : IndexedWord to originalRoot : IndexedWord in method private getValidChunk(parse SemanticGraph, originalRoot IndexedWord, validArcs Set<String>) : Optional<List<CoreLabel>> in class edu.stanford.nlp.ie.util.RelationTriple | From | To |