c204605cf66c44ef857ec0d56e1380e1e2fc1f3c
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 30
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 4 | ||
Rename Variable toke : Tokenizer<? extends HasWord> to tokFactory : TokenizerFactory in method public testPTBTokenizerGerman() : void in class edu.stanford.nlp.process.PTBTokenizerTest | From | To | |
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 Attribute | 2 | ||
Rename Attribute YyStrictlyTreebank3 : int to YyTokenizePerLine : int in class edu.stanford.nlp.process.PTBLexer | From | To | |
Rename Attribute YyTraditionalTreebank3 : int to YyNotTokenizePerLine : int in class edu.stanford.nlp.process.PTBLexer | From | To | |
Change Variable Type | 7 | ||
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 | |
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 | |
Extract Variable | 1 | ||
Extract Variable contentType : String in method public handle(httpExchange HttpExchange) : void from class edu.stanford.nlp.pipeline.StanfordCoreNLPServer.CoreNLPHandler | From | To | |
Extract Method | 10 | ||
Extract Method private fixJFlex4SpaceAfterTokenBug() : void extracted from public next() : Object in class edu.stanford.nlp.process.PTBLexer | 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 | |
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 public toMatrixString(cellSize int, nf NumberFormat) : String extracted from public toMatrixString(cellSize int) : String in class edu.stanford.nlp.stats.TwoDimensionalCounter | 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 processAcronym() : Object extracted from public next() : Object in class edu.stanford.nlp.process.PTBLexer | 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 getDotProd(c1 Counter<E>, c2 Counter<E>) : double extracted from public optimizedDotProduct(c1 Counter<E>, c2 Counter<E>) : double in class edu.stanford.nlp.stats.Counters | From | To | |
Extract Method private processAbbrev1() : Object extracted from public next() : Object in class edu.stanford.nlp.process.PTBLexer | From | To |