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