Advanced text processing APIs
advanced_ap_is_controller = client .advanced_ap_is
AdvancedAPIsController
Stemmer : Defintion and it's usage
def get_classification (self ,
body )
Parameter
Type
Tags
Description
body
object
Body, Required
Add a JSON Input as per the schema defined below
Responseclassify
body = jsonpickle .decode ('{"key1":"val1","key2":"val2"}' )
result = advanced_ap_is_controller .get_classification (body )
Stemmer : Defintion and it's usage
def get_qa (self ,
body = None )
Parameter
Type
Tags
Description
body
object
Body, Optional
Add a JSON Input as per the schema defined below
ApiQaResponse
result = advanced_ap_is_controller .get_qa ()
Example Response (as JSON)
{
"score" : 0.028566665947437286 ,
"start" : 0 ,
"end" : 20 ,
"answer" : " உப்பு, புளி, மிளகாய்"
}
Stemmer : Defintion and it's usage
def get_ner (self ,
body = None )
Parameter
Type
Tags
Description
body
object
Body, Optional
Add a JSON Input as per the schema defined below
List of ApiNerResponse
result = advanced_ap_is_controller .get_ner ()
Example Response (as JSON)
[
{
"entity_group" : " PER" ,
"word" : " محمد" ,
"start" : " 4" ,
"end" : " 9"
},
{
"entity_group" : " LOC" ,
"word" : " برلين" ,
"start" : " 18" ,
"end" : " 24"
}
]