e10279333a836697e7b029e9493dbf35d066d9a7
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 54
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 1 | ||
Move Method package createNERClassifierCombiner(name String, properties Properties) : NERClassifierCombiner from class edu.stanford.nlp.pipeline.NERCombinerAnnotator to public createNERClassifierCombiner(name String, properties Properties) : NERClassifierCombiner from class edu.stanford.nlp.ie.NERClassifierCombiner | From | To | |
Rename Variable | 1 | ||
Rename Variable currQuoteSize : int to beginSentence : int in method public getCoreMapQuotes(quotes List<Pair<Integer,Integer>>, tokens List<CoreLabel>, sentences List<CoreMap>, text String, docID String) : List<CoreMap> in class edu.stanford.nlp.pipeline.QuoteAnnotator | From | To | |
Extract Attribute | 1 | ||
Extract Attribute private SHORTER_STRING_MAX_SIZE_BEFORE_HASHING : int in class edu.stanford.nlp.util.ArrayCoreMap | From | To | |
Extract Variable | 1 | ||
Extract Variable qKindToPass : String in method public recursiveQuotes(text String, offset int, prevQuote String) : List<Pair<Integer,Integer>> from class edu.stanford.nlp.pipeline.QuoteAnnotator | From | To | |
Change Variable Type | 3 | ||
Change Variable Type minimizer : Minimizer to minimizer : Minimizer<DiffFunction> in method protected trainWeights(data int[][][][], labels int[][], evaluators Evaluator[], pruneFeatureItr int, featureVals double[][][][]) : double[] in class edu.stanford.nlp.ie.crf.CRFClassifierWithLOP | From | To | |
Change Variable Type e : FileNotFoundException to e : IOException in method public nerTag(properties Properties, annotatorImplementation AnnotatorImplementations) : AnnotatorFactory in class edu.stanford.nlp.pipeline.AnnotatorFactories | From | To | |
Change Variable Type res : BasicSequenceMatchResult to res : BasicSequenceMatchResult<T> in method public copy() : BasicSequenceMatchResult<T> in class edu.stanford.nlp.ling.tokensregex.BasicSequenceMatchResult | From | To | |
Extract Method | 1 | ||
Extract Method public assertEmbeddedHelper(embedded String, bed String, quotes List<CoreMap>) : boolean extracted from public assertEmbedded(embedded String, bed String, quotes List<CoreMap>) : void in class edu.stanford.nlp.pipeline.QuotationAnnotatorTest | From | To | |
Rename Parameter | 2 | ||
Rename Parameter os : PrintWriter to pw : PrintWriter in method public prettyPrint(annotation Annotation, pw PrintWriter, pipeline StanfordCoreNLP) : void in class edu.stanford.nlp.pipeline.TextOutputter | From | To | |
Rename Parameter os : PrintWriter to pw : PrintWriter in method private print(annotation Annotation, pw PrintWriter, options Options) : void in class edu.stanford.nlp.pipeline.TextOutputter | From | To |