Using Apple’s Built-in NaturalLanguage Framework For Sentiment Analysis in iOS App Development
Update 2024: It might not work because of Apple’s bug
Apple has its own built-in framework that we can use in our XCode project called NaturalLanguage. This framework supports sentiment analysis as well so that once we implemented it, it will magically runs and provide the result in our app based on your code.
Wait, What Is Sentiment Analysis?
According to Wikipedia, Sentiment analysis (also known as opinion mining or emotion AI) is the use of natural language processing, text analysis, computational linguistics, and biometrics to systematically identify, extract, quantify, and study affective states and subjective information.
Simply put, we use AI to detect human emotions to determine whether it’s positive, neutral or negative. Sentiment analysis is widely applied to voice of the customer topics such as reviews, survey responses, and social media.