12ec4fb83321506a19390e4b19a111b4c9bea984
Files Diff
- Added: 3
- Removed: 2
- Renamed: 0
- Modified: 24
Refactorings reported:
| Refactoring Name | Occurences | ||
|---|---|---|---|
| Change Parameter Type | 1 | ||
| Change Parameter Type docCnt : Integer to docCnt : int in method private logOutput(wrapper MulticoreWrapper<Pair<Document,CorefSystem>,StringBuilder[]>, writerGold PrintWriter, writerBeforeCoref PrintWriter, writerAfterCoref PrintWriter, docCnt int) : int in class edu.stanford.nlp.hcoref.CorefSystem | From | To | |
| Change Return Type | 1 | ||
| Change Return Type void to int in method private logOutput(wrapper MulticoreWrapper<Pair<Document,CorefSystem>,StringBuilder[]>, writerGold PrintWriter, writerBeforeCoref PrintWriter, writerAfterCoref PrintWriter, docCnt int) : int in class edu.stanford.nlp.hcoref.CorefSystem | From | To | |
| Rename Class | 1 | ||
| Rename Class edu.stanford.nlp.pipeline.QuotationAnnotatorTest renamed to edu.stanford.nlp.pipeline.QuoteAnnotatorTest | From | To | |
| Change Variable Type | 2 | ||
| Change Variable Type docCnt : Integer to docCnt : int in method public runCoref(args String[]) : void in class edu.stanford.nlp.hcoref.CorefSystem | From | To | |
| Change Variable Type head : Tree to head : CoreLabel in method public findHead(s CoreMap, mentions List<Mention>) : void in class edu.stanford.nlp.hcoref.md.CorefMentionFinder | From | To | |
| Extract Method | 2 | ||
| Extract Method public runQuotes(text String, numQuotes int, pipeline StanfordCoreNLP) : List<CoreMap> extracted from public runQuotes(text String, numQuotes int) : List<CoreMap> in class edu.stanford.nlp.pipeline.QuoteAnnotatorTest | From | To | |
| Extract Method private isSingleQuoteWithUse(c String) : boolean extracted from public recursiveQuotes(text String, offset int, prevQuote String) : List<Pair<Integer,Integer>> in class edu.stanford.nlp.pipeline.QuoteAnnotator | From | To |