prashant
commited on
Commit
·
cd8693c
1
Parent(s):
4903115
type hinting fix
Browse files
udfPreprocess/sdg_classifier.py
CHANGED
@@ -27,7 +27,7 @@ def load_sdgClassifier():
|
|
27 |
return doc_classifier
|
28 |
|
29 |
|
30 |
-
def sdg_classification(paraList:List[Text])->Tuple
|
31 |
"""
|
32 |
Text-Classification on the list of texts provided. Classifier provides the
|
33 |
most appropriate label for each text. these labels are in terms of if text
|
|
|
27 |
return doc_classifier
|
28 |
|
29 |
|
30 |
+
def sdg_classification(paraList:List[Text])->Tuple[DataFrame,Series]:
|
31 |
"""
|
32 |
Text-Classification on the list of texts provided. Classifier provides the
|
33 |
most appropriate label for each text. these labels are in terms of if text
|