Skip to content

Commit

Permalink
Merge pull request #66 from JohnSnowLabs/remove-deprecated-functions
Browse files Browse the repository at this point in the history
Remove deprecated functions
  • Loading branch information
saif-ellafi authored Dec 18, 2017
2 parents 5e4dc62 + 383600d commit 5a53395
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion python/run-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@

# Annotator tests
unittest.TextTestRunner().run(BasicAnnotatorsTestSpec())
unittest.TextTestRunner().run(RegexNERApproachTestSpec())
unittest.TextTestRunner().run(RegexMatcherTestSpec())
unittest.TextTestRunner().run(LemmatizerTestSpec())
unittest.TextTestRunner().run(DateMatcherTestSpec())
Expand Down
4 changes: 0 additions & 4 deletions python/sparknlp/annotator.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,16 +41,12 @@ class AnnotatorProperties(Params):
"required input annotations",
typeConverter=TypeConverters.toListString)


def setInputCols(self, value):
return self._set(inputCols=value)

def setOutputCol(self, value):
return self._set(outputCol=value)

def setRequiredAnnotatorTypes(self, value):
return self._set(requiredAnnotatorTypes=value)


class AnnotatorTransformer(JavaModel, JavaMLReadable, JavaMLWritable, AnnotatorProperties):

Expand Down

0 comments on commit 5a53395

Please sign in to comment.