96a9c1570ad5d511fbb2bbed077d108e367cbb4b
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 15
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type thresholds : Map<Pair<Boolean,Boolean>,Double> to thresholds : double[] in method public BestFirstCorefSystem(props Properties, modelPath String, wordCountsPath String, maxMentionDistance int, thresholds double[]) in class edu.stanford.nlp.scoref.BestFirstCorefSystem | From | To | |
Move Method | 1 | ||
Move Method public anaphoricityMFE() : MetaFeatureExtractor from class edu.stanford.nlp.scoref.StatisticalCorefTrainer to public anaphoricityMFE() : MetaFeatureExtractor from class edu.stanford.nlp.scoref.MetaFeatureExtractor | From | To | |
Inline Method | 1 | ||
Inline Method public test(classificationModel PairwiseModel, rankingModel PairwiseModel, anaphoricityModel PairwiseModel) : void inlined to public doTraining(props Properties) : void in class edu.stanford.nlp.scoref.StatisticalCorefTrainer | From | To | |
Rename Variable | 2 | ||
Rename Variable bestTrain : double to bestTrainScore : double in method public doTraining(modelName String) : void in class edu.stanford.nlp.scoref.Clusterer | From | To | |
Rename Variable dobjective : double to dfeature : double in method public learn(features Counter<String>, label double, weight double, loss Loss) : void in class edu.stanford.nlp.scoref.SimpleLinearClassifier | From | To | |
Rename Attribute | 1 | ||
Rename Attribute penalty : Penalty to regularizationStrength : double in class edu.stanford.nlp.scoref.SimpleLinearClassifier | From | To | |
Extract Method | 1 | ||
Extract Method public annotate(ann Annotation, removeSingletonClusters boolean) : void extracted from public annotate(ann Annotation) : void in class edu.stanford.nlp.scoref.StatisticalCorefSystem | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type penalty : Penalty to regularizationStrength : double in class edu.stanford.nlp.scoref.SimpleLinearClassifier | From | To | |
Rename Parameter | 1 | ||
Rename Parameter wordCountsFile : String to wordCountsPath : String in method public BestFirstCorefSystem(props Properties, modelPath String, wordCountsPath String, maxMentionDistance int, thresholds double[]) in class edu.stanford.nlp.scoref.BestFirstCorefSystem | From | To |