Skip to main content
Dietary Supplements

What Is Sentiment Analysis? A Plain Guide for Supplement Brands

Learn what sentiment analysis is, how it scores social media text, and why supplement brands still need lab testing to verify what is in the bottle.

Nour Abochama Vice President of Operations, Qalitex Laboratories

Conclusión clave

Learn what sentiment analysis is, how it scores social media text, and why supplement brands still need lab testing to verify what is in the bottle.

Search for “what is sentiment analysis” and most results explain software dashboards. If you sell or formulate dietary supplements, the more useful question is narrower: what can a sentiment score tell you about your product, and what can it never tell you?

The short answer is that sentiment analysis reads text and sorts the feelings in it into categories. It can show you how people talk about a supplement. It cannot show you what is inside the capsule. Published research on supplements and social media makes that boundary easy to see.

Sentiment analysis in plain terms

Sentiment analysis is the practice of turning written language into a measurable signal about the writer’s feelings. One widely used tool in the research literature is Linguistic Inquiry and Word Count, or LIWC. A study on supplement use and mental health describes LIWC as a popular text analysis tool that reveals people’s thoughts, feelings, personality, and sentiments from a given text written by the user [1].

The method behind it is simple to follow. LIWC has a set of pre-defined word categories that correspond to different psychometric properties, such as positive and negative emotions, anger, and anxiety [1]. It then calculates the percentage of the words that belong to each pre-defined category, which gives clues about the writer’s mental status and whether a post is about personal experience [1].

So you can think of it as counting. Every post gets broken into words, the words are matched to emotional categories, and the output is a set of percentages. Nothing in that process checks whether what the writer says about a product is true.

Two different jobs in one study

It helps to separate two tasks that often get blended together under the label “AI analysis.”

The first is finding the relevant posts. In the study above, the researchers trained a convolutional neural network classifier to identify language patterns of dietary supplement intake, and reported an F1-score of 0.899, a precision of 0.900, and a recall of 0.900 [1]. That classifier decided which users were talking about taking supplements.

The second is scoring emotion in those posts. That is the sentiment analysis step, and in this study it was performed with LIWC [1]. A good project needs both steps to be sound, and you should ask which one a vendor is describing when they say their tool uses sentiment analysis.

What a real sentiment study looks like

A concrete example makes the method clearer. The researchers collected tweets from 1 January 2015 to 31 December 2017 that contained 25 hashtags related to depression, anxiety, PTSD, OCD, schizophrenia, and bipolar disorder [1]. From that set, the classifier found that melatonin and vitamin D were the most commonly used supplements among Twitter users who self-diagnosed mental disorders [1].

To compare emotions, the team built a control group of 692 users who posted one or more mental health hashtags but no supplement in their tweeting history [1]. They compared the word count percentage of positive and negative emotion subcategories between the two groups, and for negative emotions they looked specifically at anxiety, stress, and anger [1]. A two-sample independent t test checked whether the mean percentage of each emotion category differed significantly [1].

What they found

The case group, meaning users who mentioned supplements, expressed fewer positive emotions and more negative emotions in general than the control group [1]. Among negative emotions, the case group expressed more anxiety, while the control group expressed more anger [1].

Read that carefully. It does not say supplements caused anxiety, and it does not say they helped. The authors framed the work as detecting signals of association between supplement intake and mental disorder [1]. A reasonable reading is that people who are already struggling may be more likely to turn to supplements and to post about them. A sentiment score describes the language of the people posting, not the effect of the product.

Social media as an early-warning channel

Sentiment is only one use of social media text. Another research line looks for adverse event signals. One paper in this area applies deep learning models to detect dietary supplement adverse event signals from Twitter [3]. Its reference list points to the FDA’s CFSAN Adverse Event Reporting System and to published reviews on social media for pharmacovigilance [3].

For a brand, the practical lesson is about triage. Public complaints are worth monitoring, but a cluster of negative posts is a reason to investigate, and investigation means looking at product, not at more text. Pull retained samples, review the batch records, and test.

What sentiment cannot tell you: what is in the bottle

This is the point where sentiment analysis and laboratory work part ways. A customer can love a product that is mislabeled, and a customer can complain about a product that is fine. Chemical analysis is the only way to settle what is actually in the container.

Published academic analyses of products bought at retail show how large the gap between label and contents can be [2][4]. In a case series of immune health supplements bought from Amazon.com in May 2021, 30 products were analyzed by liquid chromatography–mass spectrometry and compared with their Supplement Facts labels [2]. Thirteen of the 30 products had accurate labels, and of the 17 with inaccurate labels, 13 had ingredients listed on the labels that were not detected through analysis [2]. Nine products had substances detected that were not claimed on the product labels [2]. No product had third-party certification seals present on the packaging [2].

A second analysis, of weight-loss supplements bought on or near US military bases, found a similar pattern of label inaccuracy [4]. In total, 36 of the 44 products (82%) had inaccurate labels [4]. Twenty-seven (61%) had ingredients listed on the Supplement Facts label not detected through analysis [4]. Sixteen products (36%) contained hidden ingredients not presented on the labels [4].

Earlier work on specific product types points the same way. A ConsumerLab analysis of multivitamin and mineral products found quality control problems with 46% of them [5]. An analysis of omega-3 fatty acid supplements found that only 42% contained 90% to 110% of the declared amount of EPA [5]. A Dutch analysis of vitamin D supplements showed that vitamin D contents ranged from 8% to 177% of the labeled value [5].

None of these findings would show up in a sentiment dashboard. The reviews on these products might have been glowing.

Know the limits of each method

Even the lab studies come with limits, and they are worth noting. The immune health authors state that their 30 products are not representative of all dietary supplement products marketed for immune health [2]. Their analysis was not quantitative, so they could not comment on whether the amount of each ingredient listed on product labels matched what was detected [2]. Their method was not sensitive for polysaccharides, lipids, enzymes, and proteins, so elements such as zinc, magnesium, calcium, and selenium, along with vitamin D3, could not be verified through analysis [2].

That last point matters for how you plan testing. Different questions need different methods. Label accuracy of botanicals, single compounds, and water-soluble vitamins can be examined with liquid chromatography–mass spectrometry [2][4]. Elements and contaminants call for other tools. NIST and the NIH Office of Dietary Supplements have developed assays using techniques such as inductively coupled plasma optical emission spectrometry and ICP mass spectrometry to determine the quality of multivitamin and mineral ingredients and final products [5]. A single analytical method rarely covers everything on a label.

How to use sentiment data responsibly

If you plan to monitor how people talk about your products, a few habits keep the work honest.

  • Treat it as a signal, not a verdict. Word-category scores describe language. A rise in negative terms tells you where to look next.
  • Pair it with analytical results. When complaints cluster around a lot or a flavor, compare them with your certificates of analysis and run confirmatory tests on retained samples.
  • Check your claims language. The Dietary Supplement Health and Education Act established labeling rules for the category, including that dietary supplements cannot make disease prevention or treatment claims [5]. The mental health study above is a reminder that people talk about supplements in medical terms. Your replies and marketing should not echo that language.
  • Ask vendors which step they mean. Finding relevant posts and scoring emotion are different tasks, as the classifier and LIWC steps in the study show [1].
  • Avoid reading cause into correlation. The case group and control group comparison in the Twitter study shows association between supplement mentions and emotion words, not cause [1].

The takeaway is practical. Use sentiment analysis to hear your customers sooner, and use laboratory testing to know what you are selling. Brands that rely on only one of the two are working with half the picture.

Sources


Written by Nour Abochama, Vice President of Operations, Qalitex Laboratories. Learn more about our team

Talk to our team about your testing needs. Contact us

Nour Abochama

Escrito y revisado por

Nour Abochama

Vice President of Operations, Qalitex Laboratories

Chemical engineer who has founded and sold three laboratories and a pharmaceutical company. 17+ years of experience in laboratory operations, quality assurance, and regulatory compliance. Master's in Biomedical Engineering from Grenoble INP – Ense3. Former Director of Quality at American Testing Labs and Labofine. Expert in FDA registration, Health Canada compliance, and ISO 17025 laboratory management. Executive Producer and co-host of the Nourify-Beautify Podcast.

Chemical Engineering17+ Years Lab OperationsISO 17025 ExpertFDA & Health Canada Compliance
Ver perfil de LinkedIn →
📋

Gratis: Lista de verificación de ensayos de suplementos

Todos los ensayos que su producto necesita antes de salir al mercado — desde identidad y potencia hasta metales pesados y microbiología.

Descargar la lista gratuita →

¿Necesita análisis de laboratorio?

Solicite presupuesto en nuestro laboratorio acreditado según ISO 17025. Resultados en 48 horas.

Solicitar presupuesto →