f72db3f8393e0cff1a877c1a3c083ecc4d9ff4bf
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 54
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 1 | ||
Move Method public createNERClassifierCombiner(name String, properties Properties) : NERClassifierCombiner from class edu.stanford.nlp.ie.NERClassifierCombiner to package createNERClassifierCombiner(name String, properties Properties) : NERClassifierCombiner from class edu.stanford.nlp.pipeline.NERCombinerAnnotator | From | To | |
Inline Method | 1 | ||
Inline Method public assertEmbeddedHelper(embedded String, bed String, quotes List<CoreMap>) : boolean inlined to public assertEmbedded(embedded String, bed String, quotes List<CoreMap>) : void in class edu.stanford.nlp.pipeline.QuotationAnnotatorTest | From | To | |
Rename Variable | 1 | ||
Rename Variable beginSentence : int to currQuoteSize : int in method public getCoreMapQuotes(quotes List<Pair<Integer,Integer>>, tokens List<CoreLabel>, text String, docID String) : List<CoreMap> in class edu.stanford.nlp.pipeline.QuoteAnnotator | From | To | |
Change Variable Type | 3 | ||
Change Variable Type res : BasicSequenceMatchResult<T> to res : BasicSequenceMatchResult in method public copy() : BasicSequenceMatchResult<T> in class edu.stanford.nlp.ling.tokensregex.BasicSequenceMatchResult | From | To | |
Change Variable Type minimizer : Minimizer<DiffFunction> to minimizer : Minimizer 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 : IOException to e : FileNotFoundException in method public nerTag(properties Properties, annotatorImplementation AnnotatorImplementations) : AnnotatorFactory in class edu.stanford.nlp.pipeline.AnnotatorFactories | From | To | |
Extract Method | 1 | ||
Extract Method private timerStart(msg String) : void extracted from public annotate(annotation Annotation) : void in class edu.stanford.nlp.pipeline.NERCombinerAnnotator | From | To | |
Rename Parameter | 3 | ||
Rename Parameter pw : PrintWriter to os : PrintWriter in method public prettyPrint(annotation Annotation, os PrintWriter, pipeline StanfordCoreNLP) : void in class edu.stanford.nlp.pipeline.TextOutputter | From | To | |
Rename Parameter sentenceBeginIndex : int to currQuoteSize : int in method public makeQuote(text String, begin int, end int, quoteTokens List<CoreLabel>, currQuoteSize int, tokenOffset int, docID String) : Annotation in class edu.stanford.nlp.pipeline.QuoteAnnotator | From | To | |
Rename Parameter pw : PrintWriter to os : PrintWriter in method private print(annotation Annotation, os PrintWriter, options Options) : void in class edu.stanford.nlp.pipeline.TextOutputter | From | To |