2bb8444cbdf697b2d542a6016698497bdf3eb010
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 12
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Inline Method | 1 | ||
Inline Method private construct(props Properties, enforceRequirements boolean, annotatorImplementations AnnotatorImplementations) : void inlined to public StanfordCoreNLP(props Properties, enforceRequirements boolean, annotatorPool AnnotatorPool) in class edu.stanford.nlp.pipeline.StanfordCoreNLP | From | To | |
Pull Up Attribute | 1 | ||
Pull Up Attribute private DEFAULT_KEYS : String from class edu.stanford.nlp.pipeline.CoNLLOutputter to private DEFAULT_KEYS : String from class edu.stanford.nlp.pipeline.AnnotationOutputter | From | To | |
Move Attribute | 2 | ||
Move Attribute private dependencyTreePrinter : TreePrint from class edu.stanford.nlp.pipeline.StanfordCoreNLP to public dependencyTreePrinter : TreePrint from class edu.stanford.nlp.pipeline.AnnotationOutputter.Options | From | To | |
Move Attribute private keysToPrint : List<Class<? extends CoreAnnotation<?>>> from class edu.stanford.nlp.pipeline.CoNLLOutputter to public keysToPrint : List<Class<? extends CoreAnnotation<?>>> from class edu.stanford.nlp.pipeline.AnnotationOutputter.Options | From | To | |
Rename Attribute | 1 | ||
Rename Attribute constituentTreePrinter : TreePrint to constituencyTreePrinter : TreePrint in class edu.stanford.nlp.pipeline.AnnotationOutputter.Options | From | To | |
Change Variable Type | 2 | ||
Change Variable Type os : StringBuffer to os : StringBuilder in method package probsToString() : String in class edu.stanford.nlp.ie.machinereading.structure.ExtractionObject | From | To | |
Change Variable Type os : StringBuffer to os : StringBuilder in method public concatenateTypes(t1 String, t2 String) : String in class edu.stanford.nlp.ie.machinereading.structure.ExtractionObject | From | To | |
Extract Method | 3 | ||
Extract Method private getDefaultExtension(outputFormat OutputFormat) : String extracted from protected processFiles(base String, files Collection<File>, numThreads int, properties Properties, annotate BiConsumer<Annotation,Consumer<Annotation>>, print BiConsumer<Annotation,OutputStream>, outputFormat OutputFormat, clearPool boolean, pipeline Optional<StanfordCoreNLP>, tim Optional<Timing>) : void in class edu.stanford.nlp.pipeline.StanfordCoreNLP | From | To | |
Extract Method private loadPropertiesOrException(propsFileNamePrefix String) : Properties extracted from public StanfordCoreNLP(propsFileNamePrefix String, enforceRequirements boolean) in class edu.stanford.nlp.pipeline.StanfordCoreNLP | From | To | |
Extract Method private outputAnnotation(fos OutputStream, annotation Annotation, properties Properties, outputOptions AnnotationOutputter.Options) : void extracted from public createOutputter(properties Properties, outputOptions AnnotationOutputter.Options) : BiConsumer<Annotation,OutputStream> in class edu.stanford.nlp.pipeline.StanfordCoreNLP | From | To | |
Rename Parameter | 1 | ||
Rename Parameter outputOptions : AnnotationOutputter.Options to options : AnnotationOutputter.Options in method public createOutputter(properties Properties, options AnnotationOutputter.Options) : BiConsumer<Annotation,OutputStream> in class edu.stanford.nlp.pipeline.StanfordCoreNLP | From | To |