1d5f7a9dac8cca457e86703ac44be065f9b1cee4
Files Diff
- Added: 2
- Removed: 4
- Renamed: 0
- Modified: 10
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 3 | ||
Change Parameter Type impl : Classifier<SentimentClass,String> to impl : Classifier<String,String> in method private SimpleSentiment(impl Classifier<String,String>) in class edu.stanford.nlp.sentiment.SimpleSentiment | From | To | |
Change Parameter Type label : SentimentClass to label : String in method private imdb(path String, label String) : Stream<SentimentDatum> in class edu.stanford.nlp.sentiment.SimpleSentiment | From | To | |
Change Parameter Type sentiment : SentimentClass to sentiment : String in method private SentimentDatum(sentence String, sentiment String) in class edu.stanford.nlp.sentiment.SimpleSentiment.SentimentDatum | From | To | |
Change Return Type | 2 | ||
Change Return Type SentimentClass to String in method public classify(sentence CoreMap) : String in class edu.stanford.nlp.sentiment.SimpleSentiment | From | To | |
Change Return Type SentimentClass to String in method public classify(text String) : String in class edu.stanford.nlp.sentiment.SimpleSentiment | From | To | |
Rename Class | 1 | ||
Rename Class edu.stanford.nlp.ling.SegmenterCoreAnnotations renamed to edu.stanford.nlp.ling.ChineseCoreAnnotations | From | To | |
Change Variable Type | 6 | ||
Change Variable Type factory : LinearClassifierFactory<SentimentClass,String> to factory : LinearClassifierFactory<String,String> in method public train(data Stream<SentimentDatum>, modelLocation Optional<OutputStream>) : SimpleSentiment in class edu.stanford.nlp.sentiment.SimpleSentiment | From | To | |
Change Variable Type dataset : RVFDataset<SentimentClass,String> to dataset : RVFDataset<String,String> in method public train(data Stream<SentimentDatum>, modelLocation Optional<OutputStream>) : SimpleSentiment in class edu.stanford.nlp.sentiment.SimpleSentiment | From | To | |
Change Variable Type datum : RVFDatum<SentimentClass,String> to datum : RVFDatum<String,String> in method public classify(text String) : String in class edu.stanford.nlp.sentiment.SimpleSentiment | From | To | |
Change Variable Type datum : RVFDatum<SentimentClass,String> to datum : RVFDatum<String,String> in method public classify(sentence CoreMap) : String in class edu.stanford.nlp.sentiment.SimpleSentiment | From | To | |
Change Variable Type trainTest : Pair<GeneralDataset<SentimentClass,String>,GeneralDataset<SentimentClass,String>> to trainTest : Pair<GeneralDataset<String,String>,GeneralDataset<String,String>> in method public train(data Stream<SentimentDatum>, modelLocation Optional<OutputStream>) : SimpleSentiment in class edu.stanford.nlp.sentiment.SimpleSentiment | From | To | |
Change Variable Type classifier : LinearClassifier<SentimentClass,String> to classifier : LinearClassifier<String,String> in method public train(data Stream<SentimentDatum>, modelLocation Optional<OutputStream>) : SimpleSentiment in class edu.stanford.nlp.sentiment.SimpleSentiment | From | To | |
Change Attribute Type | 2 | ||
Change Attribute Type impl : Classifier<SentimentClass,String> to impl : Classifier<String,String> in class edu.stanford.nlp.sentiment.SimpleSentiment | From | To | |
Change Attribute Type sentiment : SentimentClass to sentiment : String in class edu.stanford.nlp.sentiment.SimpleSentiment.SentimentDatum | From | To |