b6a16c3ea343a008f89db2d8002fd776927c22b1
Files Diff
- Added: 7
- Removed: 1
- Renamed: 0
- Modified: 50
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type examples : List<RVFDatum<L,F>> to examples : GeneralDataset<L,F> in method public trainClassifier(examples GeneralDataset<L,F>, featureSet Set<F>) : NaiveBayesClassifier<L,F> in class edu.stanford.nlp.classify.NaiveBayesClassifierFactory | From | To | |
Inline Method | 3 | ||
Inline Method private initializeParamRange(func Function, x double[]) : Set<Integer> inlined to private l1NormOWL(x double[], func Function) : double in class edu.stanford.nlp.optimization.QNMinimizer | From | To | |
Inline Method private initializeParamRange(func Function, x double[]) : Set<Integer> inlined to private constrainSearchDir(dir double[], fg double[], x double[], func Function) : void in class edu.stanford.nlp.optimization.QNMinimizer | From | To | |
Inline Method private initializeParamRange(func Function, x double[]) : Set<Integer> inlined to private projectOWL(x double[], orthant double[], func Function) : double[] in class edu.stanford.nlp.optimization.QNMinimizer | From | To | |
Change Return Type | 2 | ||
Change Return Type Class<String> to Class<HashMap<Integer,String>> in method public getType() : Class<HashMap<Integer,String>> in class edu.stanford.nlp.ling.CoreAnnotations.CoNLLUSecondaryDepsAnnotation | From | To | |
Change Return Type List<Collection<T>> to List<List<T>> in method public partitionIntoFolds(values List<T>, numFolds int) : List<List<T>> in class edu.stanford.nlp.util.CollectionUtils | From | To | |
Move Class | 2 | ||
Move Class edu.stanford.nlp.trees.CoNLLUDocumentReader.SentenceProcessor moved to edu.stanford.nlp.trees.conllu.CoNLLUDocumentReader.SentenceProcessor | From | To | |
Move Class edu.stanford.nlp.trees.CoNLLUDocumentReader.WordProcessor moved to edu.stanford.nlp.trees.conllu.CoNLLUDocumentReader.WordProcessor | From | To | |
Change Variable Type | 3 | ||
Change Variable Type chunked : List<Collection<Tree>> to chunked : List<List<Tree>> in method private fixMultiWordTokens(trees List<Tree>) : List<Tree> in class edu.stanford.nlp.international.spanish.pipeline.AnCoraProcessor | From | To | |
Change Variable Type folds : List<Collection<T>> to folds : List<List<T>> in method public trainTestFoldsForCV(values List<T>, numFolds int) : Collection<Pair<Collection<T>,Collection<T>>> in class edu.stanford.nlp.util.CollectionUtils | From | To | |
Change Variable Type chunks : List<Collection<Example>> to chunks : List<List<Example>> in method public computeCostFunction(batchSize int, regParameter double, dropOutProb double) : Cost in class edu.stanford.nlp.parser.nndep.Classifier | From | To | |
Extract Method | 1 | ||
Extract Method public getString(key Class<KEY>, def String) : String extracted from public getString(key Class<KEY>) : String in class edu.stanford.nlp.ling.CoreLabel | From | To | |
Rename Parameter | 2 | ||
Rename Parameter dfunction : DiffFunction to dFunction : DiffFunction in method public minimize(dFunction DiffFunction, functionTolerance double, initial double[], maxFunctionEvaluations int, qn QNInfo) : double[] in class edu.stanford.nlp.optimization.QNMinimizer | From | To | |
Rename Parameter dfunction : DiffFunction to dFunction : DiffFunction in method public minimize(dFunction DiffFunction, functionTolerance double, initial double[], maxFunctionEvaluations int) : double[] in class edu.stanford.nlp.optimization.QNMinimizer | From | To |