e082e90287dbec04c96a25200da618bc3321babb
Files Diff
- Added: 0
- Removed: 1
- Renamed: 0
- Modified: 22
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private trainAndSave(trainTreebankPath List<Pair<String,FileFilter>>, devTreebankPath Pair<String,FileFilter>, serializedPath String) : void renamed to private train(trainTreebankPath List<Pair<String,FileFilter>>, devTreebankPath Pair<String,FileFilter>, serializedPath String, allowedFeatures Set<String>) : void in class edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser | From | To | |
Change Parameter Type | 2 | ||
Change Parameter Type graph : TreeGraph to graph : GrammaticalStructure in method public TreeGraphNode(t Tree, graph GrammaticalStructure) in class edu.stanford.nlp.trees.TreeGraphNode | From | To | |
Change Parameter Type tg : TreeGraph to tg : GrammaticalStructure in method protected setTreeGraph(tg GrammaticalStructure) : void in class edu.stanford.nlp.trees.TreeGraphNode | From | To | |
Move Method | 5 | ||
Move Method private indexLeaves(startIndex int) : int from class edu.stanford.nlp.trees.TreeGraphNode to private indexLeaves(tree TreeGraphNode, startIndex int) : int from class edu.stanford.nlp.trees.GrammaticalStructure | From | To | |
Move Method public getNodeByIndex(index int) : TreeGraphNode from class edu.stanford.nlp.trees.TreeGraph to private getNodeByIndex(index int) : TreeGraphNode from class edu.stanford.nlp.trees.GrammaticalStructure | From | To | |
Move Method public addNodeToIndexMap(index int, node TreeGraphNode) : void from class edu.stanford.nlp.trees.TreeGraph to private addNodeToIndexMap(index int, node TreeGraphNode) : void from class edu.stanford.nlp.trees.GrammaticalStructure | From | To | |
Move Method public root() : TreeGraphNode from class edu.stanford.nlp.trees.TreeGraph to public root() : TreeGraphNode from class edu.stanford.nlp.trees.GrammaticalStructure | From | To | |
Move Method private indexNodes(startIndex int) : int from class edu.stanford.nlp.trees.TreeGraphNode to private indexNodes(tree TreeGraphNode, startIndex int) : int from class edu.stanford.nlp.trees.GrammaticalStructure | From | To | |
Change Return Type | 1 | ||
Change Return Type TreeGraph to GrammaticalStructure in method protected treeGraph() : GrammaticalStructure in class edu.stanford.nlp.trees.TreeGraphNode | From | To | |
Move Attribute | 2 | ||
Move Attribute private indexMap : Map<Integer,TreeGraphNode> from class edu.stanford.nlp.trees.TreeGraph to private indexMap : Map<Integer,TreeGraphNode> from class edu.stanford.nlp.trees.GrammaticalStructure | From | To | |
Move Attribute protected root : TreeGraphNode from class edu.stanford.nlp.trees.TreeGraph to protected root : TreeGraphNode from class edu.stanford.nlp.trees.GrammaticalStructure | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type tg : TreeGraph to tg : GrammaticalStructure in class edu.stanford.nlp.trees.TreeGraphNode | From | To |