834363b45f78b715c49b211ee8a6ffe3ec062255
Files Diff
- Added: 3
- Removed: 1
- Renamed: 0
- Modified: 20
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public setUp() : void renamed to public loadGoldData() : void in class edu.stanford.nlp.pipeline.KBPAnnotatorBenchmark | From | To | |
Rename Variable | 1 | ||
Rename Variable squote : String to sPrime : String in method public containsIgnoreCase(c Collection<String>, s String) : boolean in class edu.stanford.nlp.util.StringUtils | From | To | |
Change Return Type | 2 | ||
Change Return Type void to Pair<Double,Double> in method public testClassifier(testFile String) : Pair<Double,Double> in class edu.stanford.nlp.classify.ColumnDataClassifier | From | To | |
Change Return Type Flags[] to Pair<Flags[],Classifier<String,String>> in method private setProperties(props Properties) : Pair<Flags[],Classifier<String,String>> in class edu.stanford.nlp.classify.ColumnDataClassifier | From | To | |
Rename Class | 1 | ||
Rename Class edu.stanford.nlp.pipeline.KBPAnnotatorBenchmarkSlowITest renamed to edu.stanford.nlp.pipeline.KBPAnnotatorBenchmark | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable loadPath : String to path : String in method private loadClassifier(path String) : Pair<Flags[],Classifier<String,String>> in class edu.stanford.nlp.classify.ColumnDataClassifier | From | To | |
Change Variable Type | 1 | ||
Change Variable Type terms : List<StringBuilder> to terms : List<String> in method public decodeArray(encoded String) : String[] in class edu.stanford.nlp.util.StringUtils | From | To | |
Extract Method | 6 | ||
Extract Method public serializeClassifier(oos ObjectOutputStream) : void extracted from private trainClassifier() : boolean in class edu.stanford.nlp.classify.ColumnDataClassifier | From | To | |
Extract Method public serializeClassifier(serializeTo String) : void extracted from private trainClassifier() : boolean in class edu.stanford.nlp.classify.ColumnDataClassifier | From | To | |
Extract Method private isRealValued(flags Flags) : boolean extracted from private makeRVFDatumFromStrings(strings String[]) : RVFDatum<String,String> in class edu.stanford.nlp.classify.ColumnDataClassifier | From | To | |
Extract Method private loadClassifier(path String) : Pair<Flags[],Classifier<String,String>> extracted from private setProperties(props Properties) : Flags[] in class edu.stanford.nlp.classify.ColumnDataClassifier | From | To | |
Extract Method private isRealValued(flags Flags) : boolean extracted from private makeDatum(cWord String, flags Flags, featuresC Object, goldAns String) : void in class edu.stanford.nlp.classify.ColumnDataClassifier | From | To | |
Extract Method private loadClassifier(ois ObjectInputStream) : Pair<Flags[],Classifier<String,String>> extracted from private setProperties(props Properties) : Flags[] in class edu.stanford.nlp.classify.ColumnDataClassifier | From | To | |
Rename Parameter | 1 | ||
Rename Parameter cWord : String to str : String in method private ptbTokenize(str String) : String[] in class edu.stanford.nlp.classify.ColumnDataClassifier | From | To |