我正在使用自然语言理解 api。我正在使用“hmmmm nawa ohh wen am I gona win dstin”,但出现错误
WatsonException: Error: unsupported text language, Code: 400
Run Code Online (Sandbox Code Playgroud)
我的代码是:
response = natural_language_understanding.analyze(
text='hmmmm nawa ohh wen am I gona win ds tin',
features=[features.Sentiment(), features.Keywords(), features.Emotion(), features.Categories()])
Run Code Online (Sandbox Code Playgroud)
如何将这些类型的文本传递给 NLU api。需要帮忙。