c64ba1b5f203044948abb118ebdf3ea4fd45ae71
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 2
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Parameterize Variable | 3 | ||
Parameterize Variable previousGoldPrefix : char to beforePrefix : char in method public isEntityBoundary(beforeEntity String, beforePrefix char, afterEntity String, afterPrefix char) : boolean in class edu.stanford.nlp.sequences.IOBUtils | From | To | |
Parameterize Variable previousGuess : String to beforeEntity : String in method public isEntityBoundary(beforeEntity String, beforePrefix char, afterEntity String, afterPrefix char) : boolean in class edu.stanford.nlp.sequences.IOBUtils | From | To | |
Parameterize Variable base : String to afterEntity : String in method public isSameEntityBoundary(beforeEntity String, beforePrefix char, afterEntity String, afterPrefix char) : boolean in class edu.stanford.nlp.sequences.IOBUtils | From | To | |
Extract Method | 7 | ||
Extract Method public isSameEntityBoundary(beforeEntity String, beforePrefix char, afterEntity String, afterPrefix char) : boolean extracted from public entitySubclassify(tokens List<TOK>, key Class<? extends TypesafeMap.Key<String>>, backgroundLabel String, style String, intern boolean) : void in class edu.stanford.nlp.sequences.IOBUtils | From | To | |
Extract Method public isDifferentEntityBoundary(beforeEntity String, afterEntity String) : boolean extracted from public entitySubclassify(tokens List<TOK>, key Class<? extends TypesafeMap.Key<String>>, backgroundLabel String, style String, intern boolean) : void in class edu.stanford.nlp.sequences.IOBUtils | From | To | |
Extract Method private makeListCoreLabel(gold String[], guess String[]) : List<CoreLabel> extracted from private runIOBResultsTest(gold String[], guess String[], tp double, fp double, fn double) : void in class edu.stanford.nlp.sequences.IOBUtilsTest | From | To | |
Extract Method public isEntityBoundary(beforeEntity String, beforePrefix char, afterEntity String, afterPrefix char) : boolean extracted from public countEntityResults(doc List<? extends CoreMap>, entityTP Counter<String>, entityFP Counter<String>, entityFN Counter<String>, background String) : boolean in class edu.stanford.nlp.sequences.IOBUtils | From | To |