9869b9e5f580ab8a41453ac48b99de7cf998ee16
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 4 | ||
Rename Variable ptbTokenizer : PTBTokenizer<Word> to tok : Tokenizer<T> in method private runOnTwoArrays(tokFactory TokenizerFactory<T>, inputs String[], desired String[][]) : void in class edu.stanford.nlp.process.PTBTokenizerTest | From | To | |
Rename Variable ptbTokenizer : PTBTokenizer<CoreLabel> to tok : Tokenizer<T> in method private runOnTwoArrays(tokFactory TokenizerFactory<T>, inputs String[], desired String[][]) : void in class edu.stanford.nlp.process.PTBTokenizerTest | From | To | |
Rename Variable toke : Tokenizer<? extends HasWord> to tokFactory : TokenizerFactory in method public testPTBTokenizerGerman() : void in class edu.stanford.nlp.process.PTBTokenizerTest | From | To | |
Rename Attribute | 2 | ||
Rename Attribute YyTraditionalTreebank3 : int to YyNotTokenizePerLine : int in class edu.stanford.nlp.process.PTBLexer | From | To | |
Rename Attribute YyStrictlyTreebank3 : int to YyTokenizePerLine : int in class edu.stanford.nlp.process.PTBLexer | From | To | |
Change Variable Type | 7 | ||
Change Variable Type w : Word to w : T in method private runOnTwoArrays(tokFactory TokenizerFactory<T>, inputs String[], desired String[][]) : void in class edu.stanford.nlp.process.PTBTokenizerTest | From | To | |
Change Variable Type ptbTokenizer : PTBTokenizer<Word> to tok : Tokenizer<T> in method private runOnTwoArrays(tokFactory TokenizerFactory<T>, inputs String[], desired String[][]) : void in class edu.stanford.nlp.process.PTBTokenizerTest | From | To | |
Change Variable Type ptbTokenizer : PTBTokenizer<CoreLabel> to tok : Tokenizer<T> in method private runOnTwoArrays(tokFactory TokenizerFactory<T>, inputs String[], desired String[][]) : void in class edu.stanford.nlp.process.PTBTokenizerTest | From | To | |
Change Variable Type w : CoreLabel to w : T in method private runOnTwoArrays(tokFactory TokenizerFactory<T>, inputs String[], desired String[][]) : void in class edu.stanford.nlp.process.PTBTokenizerTest | From | To | |
Change Variable Type toke : Tokenizer<? extends HasWord> to tokFactory : TokenizerFactory in method public testPTBTokenizerGerman() : void in class edu.stanford.nlp.process.PTBTokenizerTest | From | To | |
Extract Variable | 1 | ||
Extract Variable origTxt : String in method public next() : Object from class edu.stanford.nlp.process.PTBLexer | From | To | |
Extract Method | 4 | ||
Extract Method public coreLabelFactory(options String) : TokenizerFactory<CoreLabel> extracted from public coreLabelFactory() : TokenizerFactory<CoreLabel> in class edu.stanford.nlp.process.PTBTokenizer | From | To | |
Extract Method private runOnTwoArrays(tokFactory TokenizerFactory<T>, inputs String[], desired String[][]) : void extracted from public testPTBTokenizerWord() : void in class edu.stanford.nlp.process.PTBTokenizerTest | From | To | |
Extract Method private runOnTwoArrays(tokFactory TokenizerFactory<T>, inputs String[], desired String[][]) : void extracted from public testPTBTokenizerSGML() : void in class edu.stanford.nlp.process.PTBTokenizerTest | From | To | |
Extract Method private runOnTwoArrays(tokFactory TokenizerFactory<T>, inputs String[], desired String[][]) : void extracted from public testPTBTokenizerMT() : void in class edu.stanford.nlp.process.PTBTokenizerTest | From | To |