098491f3bee66e05c97ad06385097e72b61b59c5
Files Diff
- Added: 3
- Removed: 3
- Renamed: 0
- Modified: 53
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method public isConll(props Properties) : boolean renamed to public conll(props Properties) : boolean in class edu.stanford.nlp.scoref.StatisticalCorefProperties | From | To | |
Inline Method | 1 | ||
Inline Method public setDataPath(name String) : void inlined to public doTraining(props Properties) : void in class edu.stanford.nlp.scoref.StatisticalCorefTrainer | From | To | |
Change Return Type | 1 | ||
Change Return Type Class<Pair<Integer,Integer>> to Class<IntPair> in method public getType() : Class<IntPair> in class edu.stanford.nlp.ling.CoreAnnotations.CoNLLUTokenSpanAnnotation | From | To | |
Move Attribute | 1 | ||
Move Attribute private featureAnnotator : UniversalDependenciesFeatureAnnotator from class edu.stanford.nlp.pipeline.ParserAnnotator to private featureAnnotator : UniversalDependenciesFeatureAnnotator from class edu.stanford.nlp.pipeline.UDFeatureAnnotator | From | To | |
Extract Variable | 1 | ||
Extract Variable word : String in method public printSemanticGraph(sg SemanticGraph, unescapeParenthesis boolean) : String from class edu.stanford.nlp.trees.ud.CoNLLUDocumentWriter | From | To | |
Change Variable Type | 2 | ||
Change Variable Type tokenSpan : Pair<Integer,Integer> to tokenSpan : IntPair in method public printSemanticGraph(sg SemanticGraph, unescapeParenthesis boolean) : String in class edu.stanford.nlp.trees.ud.CoNLLUDocumentWriter | From | To | |
Change Variable Type tokenSpan : Pair<Integer,Integer> to tokenSpan : IntPair in method public apply(line String) : SemanticGraph in class edu.stanford.nlp.trees.ud.CoNLLUDocumentReader.SentenceProcessor | From | To | |
Extract Method | 12 | ||
Extract Method private addNumeric(features Counter<String>, key String, value int) : void extracted from private getFeatures(doc Document, m1 Mention, m2 Mention) : Counter<String> in class edu.stanford.nlp.scoref.FeatureExtractor | From | To | |
Extract Method public mergeConllUFeatures(value CoreNLPProtos.MapStringString) : Builder extracted from public mergeFrom(other CoreNLPProtos.Token) : Builder in class edu.stanford.nlp.pipeline.CoreNLPProtos.Token.Builder | From | To | |
Extract Method public printSemanticGraph(sg SemanticGraph, unescapeParenthesis boolean) : String extracted from public printSemanticGraph(sg SemanticGraph) : String in class edu.stanford.nlp.trees.ud.CoNLLUDocumentWriter | From | To | |
Extract Method private defaultModelPath(props Properties, modelName String) : String extracted from public anaphoricityModelPath(props Properties) : String in class edu.stanford.nlp.scoref.StatisticalCorefProperties | From | To | |
Extract Method private addNumeric(features Counter<String>, key String, value int) : void extracted from private getFeatures(doc Document, m Mention, mentionsByHeadIndex Map<Integer,List<Mention>>) : Counter<String> in class edu.stanford.nlp.scoref.FeatureExtractor | From | To | |
Extract Method private defaultModelPath(props Properties, modelName String) : String extracted from public clusteringModelPath(props Properties) : String in class edu.stanford.nlp.scoref.StatisticalCorefProperties | From | To | |
Extract Method private defaultModelPath(props Properties, modelName String) : String extracted from public classificationModelPath(props Properties) : String in class edu.stanford.nlp.scoref.StatisticalCorefProperties | From | To | |
Extract Method private defaultModelPath(props Properties, modelName String) : String extracted from public rankingModelPath(props Properties) : String in class edu.stanford.nlp.scoref.StatisticalCorefProperties | From | To | |
Extract Method public mergeConllUTokenSpan(value CoreNLPProtos.Span) : Builder extracted from public mergeFrom(other CoreNLPProtos.Token) : Builder in class edu.stanford.nlp.pipeline.CoreNLPProtos.Token.Builder | From | To | |
Extract Method public getDependencyParent(m Mention, w IndexedWord) : SemanticGraphEdge extracted from private getDependencyParent(m Mention) : SemanticGraphEdge in class edu.stanford.nlp.scoref.FeatureExtractor | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type vectors : Map<String,float[]> to vectors : VectorMap in class edu.stanford.nlp.hcoref.data.Dictionaries | From | To |