9365caa169e52bec495d264359fbb6909d2a6f11
Files Diff
- Added: 12
- Removed: 0
- Renamed: 0
- Modified: 33
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Rename Method | 1 | ||
Rename Method private getValidEntityChunk(parse SemanticGraph, root IndexedWord) : Optional<List<CoreLabel>> renamed to private getValidChunk(parse SemanticGraph, originalRoot IndexedWord, validArcs Set<String>, ignoredArc Optional<String>) : Optional<List<CoreLabel>> in class edu.stanford.nlp.ie.util.RelationTriple | From | To | |
Change Parameter Type | 1 | ||
Change Parameter Type objects : ArrayList<E> to objects : List<E> in method private HashIndex(objects List<E>, indexes Map<E,Integer>) in class edu.stanford.nlp.util.HashIndex | From | To | |
Change Return Type | 1 | ||
Change Return Type Class<Collection<List<CoreLabel>>> to Class<Collection<SentenceFragment>> in method public getType() : Class<Collection<SentenceFragment>> in class edu.stanford.nlp.naturalli.NaturalLogicAnnotations.EntailedSentencesAnnotation | From | To | |
Rename Class | 1 | ||
Rename Class edu.stanford.nlp.naturalli.NaturalLogicAnnotations.ImpliedSentencesAnnotation renamed to edu.stanford.nlp.naturalli.NaturalLogicAnnotations.EntailedSentencesAnnotation | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type objects : ArrayList<E> to objects : List<E> in class edu.stanford.nlp.util.HashIndex | From | To | |
Extract Method | 3 | ||
Extract Method public max(c Counter<E>, valueIfEmpty double) : double extracted from public max(c Counter<E>) : double in class edu.stanford.nlp.stats.Counters | From | To | |
Extract Method public argmax(c Counter<E>, tieBreaker Comparator<E>, defaultIfEmpty E) : E extracted from public argmax(c Counter<E>, tieBreaker Comparator<E>) : E in class edu.stanford.nlp.stats.Counters | From | To | |
Extract Method public argmax(c Counter<E>, tieBreaker Comparator<E>, defaultIfEmpty E) : E extracted from public argmax(c Counter<E>) : E in class edu.stanford.nlp.stats.Counters | From | To | |
Rename Parameter | 1 | ||
Rename Parameter root : IndexedWord to originalRoot : IndexedWord in method private getValidChunk(parse SemanticGraph, originalRoot IndexedWord, validArcs Set<String>, ignoredArc Optional<String>) : Optional<List<CoreLabel>> in class edu.stanford.nlp.ie.util.RelationTriple | From | To |