3fdf10d04b7dafdaaa513920a5909c779c6c11fc
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 14
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Move Method | 2 | ||
Move Method private normalizeAmp(in String) : String from class edu.stanford.nlp.international.spanish.process.SpanishLexer to public normalizeAmp(in String) : String from class edu.stanford.nlp.process.LexerUtils | From | To | |
Move Method private normalizeAmp(in String) : String from class edu.stanford.nlp.process.PTBLexer to public normalizeAmp(in String) : String from class edu.stanford.nlp.process.LexerUtils | From | To | |
Rename Variable | 1 | ||
Rename Variable s1 : String to tok : String in method public next() : Object in class edu.stanford.nlp.process.PTBLexer | From | To | |
Inline Method | 3 | ||
Inline Method private getNormalizedAmpNext() : Object inlined to public next() : Object in class edu.stanford.nlp.process.PTBLexer | From | To | |
Inline Method private normalizeCurrency(in String) : String inlined to public next() : Object in class edu.stanford.nlp.process.PTBLexer | From | To | |
Change Return Type | 1 | ||
Change Return Type boolean to void in method private runSentence(text String, num_sentences int) : void in class edu.stanford.nlp.pipeline.WordsToSentencesAnnotatorTest | From | To | |
Move Attribute | 2 | ||
Move Attribute private AMP_PATTERN : Pattern from class edu.stanford.nlp.international.spanish.process.SpanishLexer to private AMP_PATTERN : Pattern from class edu.stanford.nlp.process.LexerUtils | From | To | |
Move Attribute private AMP_PATTERN : Pattern from class edu.stanford.nlp.process.PTBLexer to private AMP_PATTERN : Pattern from class edu.stanford.nlp.process.LexerUtils | From | To | |
Change Variable Type | 1 | ||
Change Variable Type nodes : List to nodes : List<? super IN> in method private wordsToSentences(words List<? extends IN>) : List<List<IN>> in class edu.stanford.nlp.process.WordToSentenceProcessor | From | To | |
Extract Variable | 6 | ||
Extract Variable origTxt : String in method public next() : Object from class edu.stanford.nlp.process.PTBLexer | From | To | |
Extract Variable origTok : String in method public next() : Object from class edu.stanford.nlp.process.PTBLexer | From | To | |
Inline Variable | 1 | ||
Inline Variable txt : String in method private getNormalizedAmpNext() : Object from class edu.stanford.nlp.process.PTBLexer | From | To |