e479f8eabe72ba5b48c28454ce0e56b8263caf85
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 48
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 1 | ||
| Change Parameter Type pattern : SequencePattern to pattern : SequencePattern<CoreMap> in method public TokenSequenceMatcher(pattern SequencePattern<CoreMap>, tokens List<? extends CoreMap>) in class edu.stanford.nlp.ling.tokensregex.TokenSequenceMatcher | From | To | |
| Rename Variable | 1 | ||
| Rename Variable v : String to stringPairEntry : Map.Entry<String,Pair<Pattern,String>> in method public expandStringRegex(regex String) : String in class edu.stanford.nlp.ling.tokensregex.Env | From | To | |
| Parameterize Variable | 6 | ||
| Parameterize Variable expectedResults : String[] to expected : String[] in method private runTest(input String, expected String[], sentenceFinalPuncWords String[], whitespaceTokenize boolean) : void in class edu.stanford.nlp.process.DocumentPreprocessorTest | From | To | |
| Parameterize Variable test : String to input : String in method private runTest(input String, expected String[], sentenceFinalPuncWords String[], whitespaceTokenize boolean) : void in class edu.stanford.nlp.process.DocumentPreprocessorTest | From | To | |
| Rename Attribute | 2 | ||
| Rename Attribute ptbGold : String[][] to spanishGold : String[][] in class edu.stanford.nlp.international.spanish.SpanishTokenizerITest | From | To | |
| Rename Attribute ptbInputs : String[] to spanishInputs : String[] in class edu.stanford.nlp.international.spanish.SpanishTokenizerITest | From | To | |
| Change Variable Type | 4 | ||
| Change Variable Type results : ArrayList<String> to results : List<String> in method private runTest(input String, expected String[], sentenceFinalPuncWords String[], whitespaceTokenize boolean) : void in class edu.stanford.nlp.process.DocumentPreprocessorTest | From | To | |
| Change Variable Type v : String to stringPairEntry : Map.Entry<String,Pair<Pattern,String>> in method public expandStringRegex(regex String) : String in class edu.stanford.nlp.ling.tokensregex.Env | From | To | |
| Change Attribute Type | 1 | ||
| Change Attribute Type srparser : ShiftReduceParser to srparser : Lazy<ShiftReduceParser> in class edu.stanford.nlp.parser.server.LexicalizedParserServerITest | From | To | |
| Extract Method | 4 | ||
| Extract Method private runTest(input String, expected String[], sentenceFinalPuncWords String[], whitespaceTokenize boolean) : void extracted from public testWhitespaceTokenization() : void in class edu.stanford.nlp.process.DocumentPreprocessorTest | From | To | |
| Extract Method private runTest(input String, expected String[], sentenceFinalPuncWords String[], whitespaceTokenize boolean) : void extracted from public testSetSentencePunctWords() : void in class edu.stanford.nlp.process.DocumentPreprocessorTest | From | To | |
| Extract Method private runTest(input String, expected String[]) : void extracted from public testText() : void in class edu.stanford.nlp.process.DocumentPreprocessorTest | From | To | |
| Extract Method private runSpanish(tf TokenizerFactory<CoreLabel>, inputs String[], gold String[][]) : void extracted from public testSpanishTokenizerWord() : void in class edu.stanford.nlp.international.spanish.SpanishTokenizerITest | From | To |