Need to configure your backend?See Build a Backend →
センチメント分析
APIの使用
テキストを分析して、主要フレーズ、センチメント(ポジティブ、ネガティブ、ニュートラル)、または構文(代名詞、動詞など)を見つけます。テキスト内の名前や場所などのエンティティを見つけたり、言語検出を実行したりすることもできます。
import { Predictions } from '@aws-amplify/predictions';
const result = await Predictions.interpret({ text: { source: { text: textToInterpret, }, type: 'ALL' }})