4e90a22afa624cf4d6e7ae27da9eb852de47b3f2
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 7
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 2 | ||
Change Parameter Type feat : Counter<String> to feat : CollectionValuedMap<Integer,String> in method private descendantsHelper(g SemanticGraph, curr IndexedWord, descendantSet Set<IndexedWord>, allCutOffRels List<String>, doNotAddThese List<IndexedWord>, seenNodes List<IndexedWord>, ignoreCommonTags boolean, acceptWord Function<CoreLabel,Boolean>, feat CollectionValuedMap<Integer,String>) : void in class edu.stanford.nlp.patterns.dep.ExtractPhraseFromPattern | From | To | |
Change Parameter Type feat : Counter<String> to feat : CollectionValuedMap<Integer,String> in method public descendants(g SemanticGraph, vertex IndexedWord, allCutOffRels List<String>, doNotAddThese List<IndexedWord>, ignoreCommonTags boolean, acceptWord Function<CoreLabel,Boolean>, feat CollectionValuedMap<Integer,String>) : Set<IndexedWord> in class edu.stanford.nlp.patterns.dep.ExtractPhraseFromPattern | From | To | |
Change Return Type | 2 | ||
Change Return Type Class<Map<String,String>> to Class<Map<String,CandidatePhrase>> in method public getType() : Class<Map<String,CandidatePhrase>> in class edu.stanford.nlp.patterns.PatternsAnnotations.LongestMatchedPhraseForEachLabel | From | To | |
Change Return Type Class<CollectionValuedMap<String,String>> to Class<CollectionValuedMap<String,CandidatePhrase>> in method public getType() : Class<CollectionValuedMap<String,CandidatePhrase>> in class edu.stanford.nlp.patterns.PatternsAnnotations.MatchedPhrases | From | To | |
Parameterize Variable | 1 | ||
Parameterize Variable s : String to phrase : String in method public createOrGet(phrase String) : CandidatePhrase in class edu.stanford.nlp.patterns.CandidatePhrase | From | To | |
Change Variable Type | 2 | ||
Change Variable Type feat : Counter<String> to feat : Collection<String> in method public printSubGraph(g SemanticGraph, w IndexedWord, additionalCutOffRels List<String>, textTokens List<String>, listOfOutput Collection<String>, listOfOutputIndices Collection<IntPair>, seenNodes List<IndexedWord>, doNotAddThese List<IndexedWord>, findSubTrees boolean, extractedPhrases Collection<ExtractedPhrase>, pattern SemgrexPattern, acceptWord Function<CoreLabel,Boolean>, extractFeat Function<Pair<IndexedWord,SemanticGraph>,Counter<String>>) : void in class edu.stanford.nlp.patterns.dep.ExtractPhraseFromPattern | From | To | |
Change Variable Type claz : Class<CollectionValuedMap<String,String>> to claz : Class<CollectionValuedMap<String,CandidatePhrase>> in method public getType() : Class<CollectionValuedMap<String,CandidatePhrase>> in class edu.stanford.nlp.patterns.PatternsAnnotations.MatchedPhrases | From | To | |
Extract Method | 1 | ||
Extract Method public createOrGet(phrase String) : CandidatePhrase extracted from public convertStringPhrases(str Collection<String>) : List<CandidatePhrase> in class edu.stanford.nlp.patterns.CandidatePhrase | From | To | |
Extract And Move Method | 1 | ||
Extract And Move Method public createOrGet(phrase String) : CandidatePhrase extracted from public choosedatums(label String, forLearningPattern boolean, sents Map<String,DataInstance>, answerClass Class, answerLabel String, negativeWords Set<CandidatePhrase>, otherIgnoreClasses Map<Class,Object>, perSelectRand double, perSelectNeg double, wordsPatExtracted TwoDimensionalCounter<CandidatePhrase,E>, allSelectedPatterns Counter<E>) : RVFDataset<String,ScorePhraseMeasures> in class edu.stanford.nlp.patterns.ScorePhrasesLearnFeatWt & moved to class edu.stanford.nlp.patterns.CandidatePhrase | From | To |