Spaces:
Sleeping
Sleeping
File size: 525 Bytes
d916065 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 |
# Natural Language Toolkit: SVM-based classifier
#
# Copyright (C) 2001-2023 NLTK Project
# Author: Leon Derczynski <[email protected]>
#
# URL: <https://www.nltk.org/>
# For license information, see LICENSE.TXT
"""
nltk.classify.svm was deprecated. For classification based
on support vector machines SVMs use nltk.classify.scikitlearn
(or `scikit-learn <https://scikit-learn.org>`_ directly).
"""
class SvmClassifier:
def __init__(self, *args, **kwargs):
raise NotImplementedError(__doc__)
|