8b40c9cfd6381b618fc78ff0b629b478cbab91ca
Files Diff
- Added: 1
- Removed: 0
- Renamed: 0
- Modified: 25
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Variable | 2 | ||
Rename Variable extrackOkay : boolean to extractOkay : boolean in method private annotateExpressions(annotation CoreMap, expressions List<T>) : void in class edu.stanford.nlp.ling.tokensregex.CoreMapExpressionExtractor | From | To | |
Rename Variable tokenList : List<CoreLabel> to labeledSequence : List<CoreLabel> in method public segmentString(line String) : String in class edu.stanford.nlp.international.arabic.process.ArabicSegmenter | From | To | |
Change Return Type | 2 | ||
Change Return Type CoreMapExpressionExtractor to CoreMapExpressionExtractor<M> in method public createExtractorFromFiles(env Env, filenames String...) : CoreMapExpressionExtractor<M> in class edu.stanford.nlp.ling.tokensregex.CoreMapExpressionExtractor | From | To | |
Change Return Type CoreMapExpressionExtractor to CoreMapExpressionExtractor<M> in method public createExtractorFromFiles(env Env, filenames List<String>) : CoreMapExpressionExtractor<M> in class edu.stanford.nlp.ling.tokensregex.CoreMapExpressionExtractor | From | To | |
Change Variable Type | 5 | ||
Change Variable Type tokensAnnotationKey : Class to tokensAnnotationKey : Class<TypesafeMap.Key<List<? extends CoreMap>>> in method private extractAnnotation(sourceAnnotation CoreMap, aggregator CoreMapAggregator) : boolean in class edu.stanford.nlp.ling.tokensregex.MatchedExpression | From | To | |
Change Variable Type toDiscard : List<MatchedExpression> to toDiscard : List<T> in method private annotateExpressions(annotation CoreMap, expressions List<T>) : void in class edu.stanford.nlp.ling.tokensregex.CoreMapExpressionExtractor | From | To | |
Change Variable Type te : MatchedExpression to te : T in method private annotateExpressions(chunks List<? extends CoreMap>, expressions List<T>) : void in class edu.stanford.nlp.ling.tokensregex.CoreMapExpressionExtractor | From | To | |
Change Variable Type te : MatchedExpression to te : T in method private annotateExpressions(annotation CoreMap, expressions List<T>) : void in class edu.stanford.nlp.ling.tokensregex.CoreMapExpressionExtractor | From | To | |
Change Variable Type toDiscard : List<MatchedExpression> to toDiscard : List<T> in method private annotateExpressions(chunks List<? extends CoreMap>, expressions List<T>) : void in class edu.stanford.nlp.ling.tokensregex.CoreMapExpressionExtractor | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type tokensAnnotationKey : Class to tokensAnnotationKey : Class<CoreAnnotation<List<? extends CoreMap>>> in class edu.stanford.nlp.ling.tokensregex.CoreMapExpressionExtractor | From | To | |
Change Attribute Type segmenter : WordSegmenter to segmenter : ArabicSegmenter in class edu.stanford.nlp.pipeline.ArabicSegmenterAnnotator | From | To | |
Extract Method | 3 | ||
Extract Method public StringToIOB(tokenList List<CoreLabel>, segMarker Character, applyRewriteRules boolean, stripRewrites boolean, tf TokenizerFactory<CoreLabel>, origText String) : List<CoreLabel> extracted from public StringToIOB(tokenList List<CoreLabel>, segMarker Character, applyRewriteRules boolean, stripRewrites boolean) : List<CoreLabel> in class edu.stanford.nlp.international.arabic.process.IOBUtils | From | To | |
Extract Method private createDatum(cl CoreLabel, token String, label String, startOffset int, endOffset int) : CoreLabel extracted from private createDatum(cl CoreLabel, token String, label String) : CoreLabel in class edu.stanford.nlp.international.arabic.process.IOBUtils | From | To | |
Extract Method private segmentStringToIOB(line String) : List<CoreLabel> extracted from public segmentString(line String) : String in class edu.stanford.nlp.international.arabic.process.ArabicSegmenter | From | To |