511d9bec52115976fb325b38c5285c2409941b02
Files Diff
- Added: 20
- Removed: 3
- Renamed: 0
- Modified: 95
Refactorings reported:
Refactoring Name | Occurences | ||
---|---|---|---|
Change Parameter Type | 2 | ||
Change Parameter Type val : int to val : long in method public incValue(val long) : void in class edu.stanford.nlp.util.MutableLong | From | To | |
Change Parameter Type i : int to i : long in method public MutableLong(i long) in class edu.stanford.nlp.util.MutableLong | From | To | |
Inline Method | 2 | ||
Inline Method private jj_3R_124() : boolean inlined to private jj_3R_117() : boolean in class edu.stanford.nlp.ling.tokensregex.parser.TokenSequenceParser | From | To | |
Inline Method public semgrexFromGraph(sg SemanticGraph, wildcardNodes Collection<IndexedWord>, nodeNameMap Map<IndexedWord,String>, wordTransformation Function<IndexedWord,String>) : String inlined to public semgrexFromGraph(sg SemanticGraph, wildcardNodes Collection<IndexedWord>, useTag boolean, useWord boolean, nodeNameMap Map<IndexedWord,String>) : String in class edu.stanford.nlp.semgraph.SemanticGraphUtils | From | To | |
Rename Variable | 3 | ||
Rename Variable i : int to numFactoryFlags : int in method public main(args String[]) : void in class edu.stanford.nlp.process.DocumentPreprocessor | From | To | |
Rename Variable label : CoreLabel to coreLabel : CoreLabel in method public newLabel(labelStr String) : Label in class edu.stanford.nlp.ling.IndexedWord.factory | From | To | |
Rename Variable nonTrees : int to nonTree : int in method public printTreeStats(str String, trees List<DependencyTree>) : void in class edu.stanford.nlp.parser.nndep.Util | From | To | |
Change Return Type | 5 | ||
Change Return Type Counter<SemgrexPattern> to List<SemgrexPattern> in method public compileStream(is InputStream) : List<SemgrexPattern> in class edu.stanford.nlp.semgraph.semgrex.SemgrexBatchParser | From | To | |
Change Return Type Class<String> to Class<OperatorSpec> in method public getType() : Class<OperatorSpec> in class edu.stanford.nlp.naturalli.NaturalLogicAnnotations.OperatorAnnotation | From | To | |
Change Return Type Class<Tree> to Class<CoreLabel> in method public getType() : Class<CoreLabel> in class edu.stanford.nlp.trees.TreeCoreAnnotations.HeadTagLabelAnnotation | From | To | |
Change Return Type Class<Tree> to Class<CoreLabel> in method public getType() : Class<CoreLabel> in class edu.stanford.nlp.trees.TreeCoreAnnotations.HeadWordLabelAnnotation | From | To | |
Change Return Type Counter<SemgrexPattern> to List<SemgrexPattern> in method private parse(reader BufferedReader, macros Map<String,String>) : List<SemgrexPattern> in class edu.stanford.nlp.semgraph.semgrex.SemgrexBatchParser | From | To | |
Rename Class | 2 | ||
Rename Class edu.stanford.nlp.trees.TreeCoreAnnotations.HeadWordAnnotation renamed to edu.stanford.nlp.trees.TreeCoreAnnotations.HeadWordLabelAnnotation | From | To | |
Rename Class edu.stanford.nlp.trees.TreeCoreAnnotations.HeadTagAnnotation renamed to edu.stanford.nlp.trees.TreeCoreAnnotations.HeadTagLabelAnnotation | From | To | |
Move And Rename Class | 1 | ||
Move And Rename Class edu.stanford.nlp.ling.CoreAnnotations.ProjectedCategoryAnnotation moved and renamed to edu.stanford.nlp.naturalli.NaturalLogicAnnotations.OperatorAnnotation | From | To | |
Rename Attribute | 1 | ||
Rename Attribute ANCORA_OPTS : String to ANCORA_OPTIONS : String in class edu.stanford.nlp.international.spanish.process.SpanishTokenizer | From | To | |
Change Variable Type | 7 | ||
Change Variable Type head : Tree to head : CoreLabel in method private createTransitionSequenceHelper(transitions List<Transition>, tree Tree, compoundUnary boolean, rootOnlyStates Set<String>) : void in class edu.stanford.nlp.parser.shiftreduce.CreateTransitionSequence | From | To | |
Change Variable Type patterns : Counter<SemgrexPattern> to patterns : List<SemgrexPattern> in method private parse(reader BufferedReader, macros Map<String,String>) : List<SemgrexPattern> in class edu.stanford.nlp.semgraph.semgrex.SemgrexBatchParser | From | To | |
Change Variable Type elapsed : int to elapsed : long in method public annotate(annotation Annotation) : void in class edu.stanford.nlp.pipeline.AnnotationPipeline | From | To | |
Change Variable Type sentence : ArrayCoreMap to sentence : CoreMap in method public main(args String[]) : void in class edu.stanford.nlp.pipeline.demo.StanfordCoreNlpDemo | From | To | |
Change Variable Type head : Tree to head : CoreLabel in method public getRecentDependent(stack TreeShapedStack<Tree>, transition Transition, nodeNum int) : CoreLabel in class edu.stanford.nlp.parser.shiftreduce.FeatureFactory | From | To | |
Change Variable Type rightHead : Tree to rightHead : CoreLabel in method private createTransitionSequenceHelper(transitions List<Transition>, tree Tree, compoundUnary boolean, rootOnlyStates Set<String>) : void in class edu.stanford.nlp.parser.shiftreduce.CreateTransitionSequence | From | To | |
Change Variable Type leftHead : Tree to leftHead : CoreLabel in method private createTransitionSequenceHelper(transitions List<Transition>, tree Tree, compoundUnary boolean, rootOnlyStates Set<String>) : void in class edu.stanford.nlp.parser.shiftreduce.CreateTransitionSequence | From | To | |
Extract Variable | 8 | ||
Extract Variable regMatrix : SimpleMatrix in method package scaleAndRegularize(derivatives TwoDimensionalMap<String,String,SimpleMatrix>, currentMatrices TwoDimensionalMap<String,String,SimpleMatrix>, scale double, regCost double, dropBiasColumn boolean) : double from class edu.stanford.nlp.sentiment.SentimentCostAndGradient | From | To | |
Extract Variable extension : String in method public main(args String[]) : void from class edu.stanford.nlp.trees.tregex.TregexPattern | From | To | |
Extract Variable regMatrix : SimpleMatrix in method package scaleAndRegularize(derivatives Map<String,SimpleMatrix>, currentMatrices Map<String,SimpleMatrix>, scale double, regCost double, activeMatricesOnly boolean, dropBiasColumn boolean) : double from class edu.stanford.nlp.sentiment.SentimentCostAndGradient | From | To | |
Extract Variable goldAnswer : String in method private makeDatum(strs String[]) : Datum<String,String> from class edu.stanford.nlp.classify.ColumnDataClassifier | From | To | |
Extract Variable nTrees : int in method public printTreeStats(str String, trees List<DependencyTree>) : void from class edu.stanford.nlp.parser.nndep.Util | From | To | |
Extract Variable uasNoPunc : double in method public testCoNLL(testFile String, outFile String) : double from class edu.stanford.nlp.parser.nndep.DependencyParser | From | To | |
Extract Variable goldAnswer : String in method private makeRVFDatum(strs String[]) : RVFDatum<String,String> from class edu.stanford.nlp.classify.ColumnDataClassifier | From | To | |
Extract Variable oldWordVectorD : SimpleMatrix in method private backpropDerivativesAndError(tree Tree, binaryTD TwoDimensionalMap<String,String,SimpleMatrix>, binaryCD TwoDimensionalMap<String,String,SimpleMatrix>, binaryTensorTD TwoDimensionalMap<String,String,SimpleTensor>, unaryCD Map<String,SimpleMatrix>, wordVectorD Map<String,SimpleMatrix>, deltaUp SimpleMatrix) : void from class edu.stanford.nlp.sentiment.SentimentCostAndGradient | From | To | |
Inline Variable | 1 | ||
Inline Variable currPow : int in method public intPow(b int, e int) : int from class edu.stanford.nlp.math.SloppyMath | From | To | |
Rename Parameter | 1 | ||
Rename Parameter collection : Stream<X> to l : Stream<X> in method public join(l Stream<X>, glue String) : String in class edu.stanford.nlp.util.StringUtils | From | To |