Toggle navigation
Home
java.lang.String to edu.stanford.nlp.patterns.CandidatePhrase
No. of Instances - 18
No. of Commits - 5
No. of Projects - {'CoreNLP'}
Hierarchy/Composition: SIBLING
Primitive Info: -
NameSpace: Jdk -> Internal
Mapping:
Add or Remove Method invocation
longestMatchedPhrases.get(i).length()
to
longestMatchedPhrases.get(i).getPhrase().length()
longestMatching
to
longestMatchingPh.getPhrase()
longestMatchedPhrases.get(i).length()
to
longestMatchedPhrases.get(i).getPhrase().length()
longestMatching
to
longestMatchingPh.getPhrase()
phStr
to
phEn.getKey()
longestMatchingPhrase.length()
to
longestMatchingPhrase.getPhrase().length()
tokenWordOrLemma.length()
to
tokenWordOrLemma.getPhrase().length()
longPh.length()
to
longPh.getPhrase().length()
ph
to
sc.getPhrase()
w
to
w.getPhrase()
Rename Variable
longestMatching
to
longestMatchingPh
longestMatching
to
longestMatchingPh
Update Class Instacne Creation
new Pair<E,CandidatePhrase>(sindex,new CandidatePhrase(tokenWordOrLemma))
to
new Pair<E,CandidatePhrase>(sindex,tokenWordOrLemma)
new Pair<E,CandidatePhrase>(sindex,new CandidatePhrase(tokenWordOrLemma))
to
new Pair<E,CandidatePhrase>(sindex,tokenWordOrLemma)
Cascading Type Change (Similar)
CollectionValuedMap<String,String>
to
CollectionValuedMap<String,CandidatePhrase>
TwoDimensionalCounter<String,E>
to
TwoDimensionalCounter<CandidatePhrase,E>
TwoDimensionalCounter<String,E>
to
TwoDimensionalCounter<CandidatePhrase,E>
Wrap or Un-wrap
add
to
add
Cascading Type Change (Different)
HashMap<String,TwoDimensionalCounter<String,E>>
to
HashMap<String,TwoDimensionalCounter<CandidatePhrase,E>>