57dbdfcb439a0d6025f882bfb3fc4f744d0cdcf6
Files Diff
- Added: 3
- Removed: 1
- Renamed: 0
- Modified: 61
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 2 | ||
| Change Parameter Type includeExtras : boolean to includeExtras : Extras in method protected collapseDependencies(list List<TypedDependency>, CCprocess boolean, includeExtras Extras) : void in class edu.stanford.nlp.trees.international.pennchinese.ChineseGrammaticalStructure | From | To | |
| Change Parameter Type includeExtras : boolean to includeExtras : Extras in method protected collapseDependencies(list List<TypedDependency>, CCprocess boolean, includeExtras Extras) : void in class edu.stanford.nlp.trees.EnglishGrammaticalStructure | From | To | |
| Rename Variable | 2 | ||
| Rename Variable span : Pair<Integer,Integer> to pairStringEntry : Map.Entry<Pair<Integer,Integer>,String> in method public main(args String[]) : void in class edu.stanford.nlp.sentiment.BuildBinarizedDataset | From | To | |
| Rename Variable feature : String to stringWeightEntry : Map.Entry<String,Weight> in method public outputStats() : void in class edu.stanford.nlp.parser.shiftreduce.PerceptronModel | From | To | |
| Rename Class | 1 | ||
| Rename Class edu.stanford.nlp.pipeline.PosParserTagCompatibilityITest renamed to edu.stanford.nlp.pipeline.TaggerParserPosTagCompatibilityITest | From | To | |
| Rename Attribute | 1 | ||
| Rename Attribute includeExtras : boolean to extraDependencies : GrammaticalStructure.Extras in class edu.stanford.nlp.pipeline.DependencyParseAnnotator | From | To | |
| Change Variable Type | 5 | ||
| Change Variable Type propKey : Object to propKey : String in method public argsToProperties(args String[], flagsToNumArgs Map<String,Integer>) : Properties in class edu.stanford.nlp.util.StringUtils | From | To | |
| Change Variable Type feature : String to stringWeightEntry : Map.Entry<String,Weight> in method public outputStats() : void in class edu.stanford.nlp.parser.shiftreduce.PerceptronModel | From | To | |
| Change Variable Type labelIndex : Index to labelIndex : Index<CRFLabel> in method private getFactorTable(weights double[], wScale double, weightIndices int[][], data int[][], labelIndices List<Index<CRFLabel>>, numClasses int) : FactorTable in class edu.stanford.nlp.ie.crf.CRFCliqueTree | From | To | |
| Change Variable Type span : Pair<Integer,Integer> to pairStringEntry : Map.Entry<Pair<Integer,Integer>,String> in method public main(args String[]) : void in class edu.stanford.nlp.sentiment.BuildBinarizedDataset | From | To | |
| Change Variable Type labelIndex : Index to labelIndex : Index<CRFLabel> in method package getFactorTable(data int[][], labelIndices List<Index<CRFLabel>>, numClasses int, cliquePotentialFunc CliquePotentialFunction, featureValByCliqueSize double[][], posInSent int) : FactorTable in class edu.stanford.nlp.ie.crf.CRFCliqueTree | From | To | |
| Extract Method | 8 | ||
| Extract Method public makeFromTree(tree Tree, mode Mode, includeExtras GrammaticalStructure.Extras, threadSafe boolean, filter Predicate<TypedDependency>) : SemanticGraph extracted from public makeFromTree(tree Tree, mode Mode, includeExtras boolean, threadSafe boolean, filter Predicate<TypedDependency>) : SemanticGraph in class edu.stanford.nlp.semgraph.SemanticGraphFactory | From | To | |
| Extract Method public typedDependenciesCollapsed(includeExtras Extras) : List<TypedDependency> extracted from public typedDependenciesCollapsed(includeExtras boolean) : List<TypedDependency> in class edu.stanford.nlp.trees.GrammaticalStructure | From | To | |
| Extract Method public typedDependenciesCCprocessed(includeExtras Extras) : List<TypedDependency> extracted from public typedDependenciesCCprocessed(includeExtras boolean) : List<TypedDependency> in class edu.stanford.nlp.trees.GrammaticalStructure | From | To | |
| Extract Method public typedDependencies(includeExtras Extras) : List<TypedDependency> extracted from public typedDependencies(includeExtras boolean) : List<TypedDependency> in class edu.stanford.nlp.trees.GrammaticalStructure | From | To | |
| Extract Method public makeFromTree(tree Tree, mode Mode, includeExtras GrammaticalStructure.Extras, filter Predicate<TypedDependency>) : SemanticGraph extracted from public makeFromTree(tree Tree, mode Mode, includeExtras boolean, filter Predicate<TypedDependency>) : SemanticGraph in class edu.stanford.nlp.semgraph.SemanticGraphFactory | From | To | |
| Extract Method private testTagSet3(lexParsers String[], maxentTaggers String[], srParsers String[]) : void extracted from public testEnglishTagSet() : void in class edu.stanford.nlp.pipeline.TaggerParserPosTagCompatibilityITest | From | To | |
| Extract Method public makeFromTree(tree Tree, mode Mode, includeExtras GrammaticalStructure.Extras, threadSafe boolean) : SemanticGraph extracted from public makeFromTree(tree Tree, mode Mode, includeExtras boolean, threadSafe boolean) : SemanticGraph in class edu.stanford.nlp.semgraph.SemanticGraphFactory | From | To | |
| Extract Method public makeFromTree(gs GrammaticalStructure, mode Mode, includeExtras GrammaticalStructure.Extras, threadSafe boolean, filter Predicate<TypedDependency>) : SemanticGraph extracted from public makeFromTree(gs GrammaticalStructure, mode Mode, includeExtras boolean, threadSafe boolean, filter Predicate<TypedDependency>) : SemanticGraph in class edu.stanford.nlp.semgraph.SemanticGraphFactory | From | To | |
| Change Attribute Type | 2 | ||
| Change Attribute Type activeMatchedStates : Set<MatchedStates> to activeMatchedStates : Collection<MatchedStates> in class edu.stanford.nlp.ling.tokensregex.SequenceMatcher.BranchStates | From | To | |
| Change Attribute Type includeExtras : boolean to extraDependencies : GrammaticalStructure.Extras in class edu.stanford.nlp.pipeline.DependencyParseAnnotator | From | To | |
| Inline Variable | 1 | ||
| Inline Variable truth : int in method private g(labelIndex int, posInSent int) : double from class edu.stanford.nlp.ie.crf.NoisyLabelLinearCliquePotentialFunction | From | To | |
| Extract And Move Method | 1 | ||
| Extract And Move Method public readObjectAnnouncingTimingFromURLOrClasspathOrFileSystem(msg String, path String) : T extracted from public loadModel(path String, extraFlags String...) : ShiftReduceParser in class edu.stanford.nlp.parser.shiftreduce.ShiftReduceParser & moved to class edu.stanford.nlp.io.IOUtils | From | To | |
| Rename Parameter | 2 | ||
| Rename Parameter wscale : double to wScale : double in method private getFactorTable(weights double[], wScale double, weightIndices int[][], data int[][], labelIndices List<Index<CRFLabel>>, numClasses int) : FactorTable in class edu.stanford.nlp.ie.crf.CRFCliqueTree | From | To | |
| Rename Parameter gs : GrammaticalStructure to tree : GrammaticalStructure in method public makeFromTree(tree GrammaticalStructure, mode Mode, includeExtras boolean, threadSafe boolean, filter Predicate<TypedDependency>) : SemanticGraph in class edu.stanford.nlp.semgraph.SemanticGraphFactory | From | To |