How do I specify which language I want to use for sentiment analysis?

To specify a language, you can use:
sentiment( ____, language="LANGUAGE_CODE_HERE") 

The codes for the 12 languages our sentiment API supports are as follows:

  • Arabic: ar 
  • Chinese: ch 
  • Dutch: nl 
  • French: fr 
  • German: de 
  • Italian: it 
  • Japanese: ja  
  • Korean: ko 
  • Portuguese: pg 
  • Russian: ru 
  • Spanish: es 

Did this help answer your question?

thumbs up
thumbs down

Thanks for the feedback! 🙏🏽

Help by drift