7c2348c8a2ff32665e25bb1267fe2cd4dd5ea5d7
Files Diff
- Added: 3
- Removed: 0
- Renamed: 0
- Modified: 76
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 | 2 | ||
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 | |
Rename Variable verbExtraction : Optional<RelationTriple> to extraction : Optional<RelationTriple> in method public segment(parse SemanticGraph, confidence Optional<Double>, consumeAll boolean) : Optional<RelationTriple> in class edu.stanford.nlp.naturalli.RelationTripleSegmenter | 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 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 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 Attribute Type | 1 | ||
Change Attribute Type srparser : ShiftReduceParser to srparser : Lazy<ShiftReduceParser> in class edu.stanford.nlp.parser.server.LexicalizedParserServerITest | From | To | |
Extract Method | 6 | ||
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 getLoggerAndLevel(channel Object[]) : Pair<Logger,Redwood.Flag> extracted from public print(channel Object[], line String) : void in class edu.stanford.nlp.util.logging.SLF4JHandler | From | To | |
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 runSpanish(tf TokenizerFactory<CoreLabel>, inputs String[], gold String[][]) : void extracted from public testSpanishTokenizerWord() : void in class edu.stanford.nlp.international.spanish.SpanishTokenizerITest | From | To | |
Extract Method public tripleToString(extraction RelationTriple, docid String, sentence CoreMap) : String extracted from private processDocument(pipeline AnnotationPipeline, docid String, document String) : void in class edu.stanford.nlp.naturalli.OpenIE | From | To |