5a090c75eced48af95ef130c5422cec330681749
Files Diff
- Added: 0
- Removed: 1
- Renamed: 0
- Modified: 52
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move And Rename Method | 1 | ||
Move And Rename Method public escapeChar(s String, c char) : String from class edu.stanford.nlp.process.LexerUtils to private delimit(s String, c char) : String from class edu.stanford.nlp.international.french.process.FrenchLexer | From | To | |
Move Method | 1 | ||
Move Method public normalizeFractions(normalizeFractions boolean, escapeForwardSlashAsterisk boolean, in String) : String from class edu.stanford.nlp.process.LexerUtils to private normalizeFractions(in String) : String from class edu.stanford.nlp.process.PTBLexer | From | To | |
Inline Method | 3 | ||
Inline Method private getDefaultExtension(outputFormat OutputFormat) : String inlined to 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 | |
Inline Method private outputAnnotation(fos OutputStream, annotation Annotation, properties Properties, outputOptions AnnotationOutputter.Options) : void inlined to public createOutputter(properties Properties, outputOptions AnnotationOutputter.Options) : BiConsumer<Annotation,OutputStream> in class edu.stanford.nlp.pipeline.StanfordCoreNLP | From | To | |
Inline Method private loadPropertiesOrException(propsFileNamePrefix String) : Properties inlined to public StanfordCoreNLP(propsFileNamePrefix String, enforceRequirements boolean) in class edu.stanford.nlp.pipeline.StanfordCoreNLP | From | To | |
Move Attribute | 7 | ||
Move Attribute private ONE_FOURTH_PATTERN : Pattern from class edu.stanford.nlp.process.LexerUtils to private ONE_FOURTH_PATTERN : Pattern from class edu.stanford.nlp.process.PTBLexer | From | To | |
Move Attribute private ONE_THIRD_PATTERN : Pattern from class edu.stanford.nlp.process.LexerUtils to private ONE_THIRD_PATTERN : Pattern from class edu.stanford.nlp.process.PTBLexer | From | To | |
Move Attribute public dependencyTreePrinter : TreePrint from class edu.stanford.nlp.pipeline.AnnotationOutputter.Options to private dependencyTreePrinter : TreePrint from class edu.stanford.nlp.pipeline.StanfordCoreNLP | From | To | |
Move Attribute private ONE_HALF_PATTERN : Pattern from class edu.stanford.nlp.process.LexerUtils to private ONE_HALF_PATTERN : Pattern from class edu.stanford.nlp.process.PTBLexer | From | To | |
Move Attribute public keysToPrint : List<Class<? extends CoreAnnotation<?>>> from class edu.stanford.nlp.pipeline.AnnotationOutputter.Options to private keysToPrint : List<Class<? extends CoreAnnotation<?>>> from class edu.stanford.nlp.pipeline.CoNLLOutputter | From | To | |
Move Attribute private TWO_THIRDS_PATTERN : Pattern from class edu.stanford.nlp.process.LexerUtils to private TWO_THIRDS_PATTERN : Pattern from class edu.stanford.nlp.process.PTBLexer | From | To | |
Move Attribute private THREE_FOURTHS_PATTERN : Pattern from class edu.stanford.nlp.process.LexerUtils to private THREE_FOURTHS_PATTERN : Pattern from class edu.stanford.nlp.process.PTBLexer | From | To | |
Push Down Attribute | 1 | ||
Push Down Attribute private DEFAULT_KEYS : String from class edu.stanford.nlp.pipeline.AnnotationOutputter to private DEFAULT_KEYS : String from class edu.stanford.nlp.pipeline.CoNLLOutputter | From | To | |
Rename Attribute | 1 | ||
Rename Attribute constituencyTreePrinter : TreePrint to constituentTreePrinter : TreePrint in class edu.stanford.nlp.pipeline.AnnotationOutputter.Options | From | To | |
Change Variable Type | 2 | ||
Change Variable Type os : StringBuilder to os : StringBuffer in method public concatenateTypes(t1 String, t2 String) : String in class edu.stanford.nlp.ie.machinereading.structure.ExtractionObject | From | To | |
Change Variable Type os : StringBuilder to os : StringBuffer in method package probsToString() : String in class edu.stanford.nlp.ie.machinereading.structure.ExtractionObject | From | To | |
Inline Variable | 4 | ||
Inline Variable tok : String in method public next() : Object from class edu.stanford.nlp.process.PTBLexer | From | To | |
Extract Method | 1 | ||
Extract Method private construct(props Properties, enforceRequirements boolean, annotatorImplementations AnnotatorImplementations) : void extracted from public StanfordCoreNLP(props Properties, enforceRequirements boolean, annotatorPool AnnotatorPool) in class edu.stanford.nlp.pipeline.StanfordCoreNLP | From | To | |
Rename Parameter | 1 | ||
Rename Parameter options : AnnotationOutputter.Options to outputOptions : AnnotationOutputter.Options in method public createOutputter(properties Properties, outputOptions AnnotationOutputter.Options) : BiConsumer<Annotation,OutputStream> in class edu.stanford.nlp.pipeline.StanfordCoreNLP | From | To |