3e73356b57dbf07d2a70f0d0e1d8a624032fe141
Files Diff
- Added: 0
- Removed: 0
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 1 | ||
Change Parameter Type words : Counter<CandidatePhrase> to words : Map<Integer,Counter<CandidatePhrase>> in method package writeWordsToFile(words Map<Integer,Counter<CandidatePhrase>>, outFile BufferedWriter) : void in class edu.stanford.nlp.patterns.GetPatternsFromDataMultiClass | From | To | |
Rename Variable | 2 | ||
Rename Variable en : Map.Entry<String,Counter<CandidatePhrase>> to label : String in method public getLearnedWordsAsJson() : String in class edu.stanford.nlp.patterns.ConstantsAndVariables | From | To | |
Rename Variable en : Entry<CandidatePhrase,Double> to en2 : Entry<Integer,Counter<CandidatePhrase>> in method package writeWordsToFile(words Map<Integer,Counter<CandidatePhrase>>, outFile BufferedWriter) : void in class edu.stanford.nlp.patterns.GetPatternsFromDataMultiClass | From | To | |
Change Return Type | 1 | ||
Change Return Type Counter<CandidatePhrase> to TreeMap<Integer,Counter<CandidatePhrase>> in method package readLearnedWordsFromFile(file File) : TreeMap<Integer,Counter<CandidatePhrase>> in class edu.stanford.nlp.patterns.GetPatternsFromDataMultiClass | From | To | |
Rename Attribute | 1 | ||
Rename Attribute learnedWords : Map<String,Counter<CandidatePhrase>> to learnedWordsEachIter : Map<String,TreeMap<Integer,Counter<CandidatePhrase>>> in class edu.stanford.nlp.patterns.ConstantsAndVariables | From | To | |
Change Variable Type | 5 | ||
Change Variable Type en : Map.Entry<String,Counter<CandidatePhrase>> to label : String in method public getLearnedWordsAsJson() : String in class edu.stanford.nlp.patterns.ConstantsAndVariables | From | To | |
Change Variable Type words : Counter<CandidatePhrase> to words : TreeMap<Integer,Counter<CandidatePhrase>> in method public loadFromSavedPatternsWordsDir(model GetPatternsFromDataMultiClass<E>, props Properties, labelSentsUsingModel boolean, applyPatsUsingModel boolean, numIterationsOfSavedPatternsToLoad int) : Map<E,String> in class edu.stanford.nlp.patterns.GetPatternsFromDataMultiClass | From | To | |
Change Variable Type en : Entry<CandidatePhrase,Double> to en2 : Entry<Integer,Counter<CandidatePhrase>> in method package writeWordsToFile(words Map<Integer,Counter<CandidatePhrase>>, outFile BufferedWriter) : void in class edu.stanford.nlp.patterns.GetPatternsFromDataMultiClass | From | To | |
Change Variable Type wordsandLemmaPatExtracted : TwoDimensionalCounter<Pair<String,String>,E> to wordsandLemmaPatExtracted : TwoDimensionalCounter<CandidatePhrase,E> in method public loadFromSavedPatternsWordsDir(model GetPatternsFromDataMultiClass<E>, props Properties, labelSentsUsingModel boolean, applyPatsUsingModel boolean, numIterationsOfSavedPatternsToLoad int) : Map<E,String> in class edu.stanford.nlp.patterns.GetPatternsFromDataMultiClass | From | To | |
Change Variable Type en : Entry<String,Counter<CandidatePhrase>> to en : Entry<Integer,Counter<CandidatePhrase>> in method public iterateExtractApply(p0 Map<String,E>, p0Set Map<String,Counter<CandidatePhrase>>, wordsOutputFile String, sentsOutFile String, patternsOutFile String, ignorePatterns Map<String,Set<E>>) : void in class edu.stanford.nlp.patterns.GetPatternsFromDataMultiClass | From | To | |
Change Attribute Type | 1 | ||
Change Attribute Type learnedWords : Map<String,Counter<CandidatePhrase>> to learnedWordsEachIter : Map<String,TreeMap<Integer,Counter<CandidatePhrase>>> in class edu.stanford.nlp.patterns.ConstantsAndVariables | From | To | |
Rename Parameter | 1 | ||
Rename Parameter numIter : int to numIterTotal : int in method private iterateExtractApply4Label(label String, p0 E, p0Set Counter<CandidatePhrase>, wordsOutput BufferedWriter, sentsOutFile String, patternsOut BufferedWriter, ignorePatterns Set<E>, ignoreWords Set<CandidatePhrase>, matchedTokensByPat CollectionValuedMap<E,Triple<String,Integer,Integer>>, terms TwoDimensionalCounter<CandidatePhrase,E>, numIterTotal int) : Pair<Counter<E>,Counter<CandidatePhrase>> in class edu.stanford.nlp.patterns.GetPatternsFromDataMultiClass | From | To |