ce22f5e743defab916b58eee49b0594bc517047e
Files Diff
- Added: 2
- Removed: 5
- Renamed: 0
- Modified: 34
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 1 | ||
| Change Parameter Type examples : GeneralDataset<L,F> to examples : List<RVFDatum<L,F>> in method public trainClassifier(examples List<RVFDatum<L,F>>, featureSet Set<F>) : NaiveBayesClassifier<L,F> in class edu.stanford.nlp.classify.NaiveBayesClassifierFactory | From | To | |
| Inline Method | 1 | ||
| Inline Method public getString(key Class<KEY>, def String) : String inlined to public getString(key Class<KEY>) : String in class edu.stanford.nlp.ling.CoreLabel | From | To | |
| Change Return Type | 1 | ||
| Change Return Type List<List<T>> to List<Collection<T>> in method public partitionIntoFolds(values List<T>, numFolds int) : List<Collection<T>> in class edu.stanford.nlp.util.CollectionUtils | From | To | |
| Move And Rename Class | 1 | ||
| Move And Rename Class edu.stanford.nlp.trees.conllu.CoNLLUDocumentReaderWriterTest moved and renamed to edu.stanford.nlp.trees.CoNLLUDocumentReaderTest | From | To | |
| Move Class | 2 | ||
| Move Class edu.stanford.nlp.trees.conllu.CoNLLUDocumentReader.WordProcessor moved to edu.stanford.nlp.trees.CoNLLUDocumentReader.WordProcessor | From | To | |
| Move Class edu.stanford.nlp.trees.conllu.CoNLLUDocumentReader.SentenceProcessor moved to edu.stanford.nlp.trees.CoNLLUDocumentReader.SentenceProcessor | From | To | |
| Change Variable Type | 3 | ||
| Change Variable Type chunked : List<List<Tree>> to chunked : List<Collection<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<List<T>> to folds : List<Collection<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<List<Example>> to chunks : List<Collection<Example>> in method public computeCostFunction(batchSize int, regParameter double, dropOutProb double) : Cost in class edu.stanford.nlp.parser.nndep.Classifier | From | To | |
| Extract Method | 3 | ||
| Extract Method private initializeParamRange(func Function, x double[]) : Set<Integer> extracted from private constrainSearchDir(dir double[], fg double[], x double[], func Function) : void in class edu.stanford.nlp.optimization.QNMinimizer | From | To | |
| Extract Method private initializeParamRange(func Function, x double[]) : Set<Integer> extracted from private l1NormOWL(x double[], func Function) : double in class edu.stanford.nlp.optimization.QNMinimizer | From | To | |
| Extract Method private initializeParamRange(func Function, x double[]) : Set<Integer> extracted from private projectOWL(x double[], orthant double[], func Function) : double[] in class edu.stanford.nlp.optimization.QNMinimizer | 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 |