Demystify AI

Taken out of context, I must seem so strange

One of the current opportunities and challenges in the pet category is the dramatic shift of business to online.

‘Online pet food projected to pass in-store sales by 2025’
- Debbie Phillips-Donaldson,
editor-in-chief of Petfood Industry (November 23, 2021)

In this context, identifying relevant insights becomes a key enabler to accelerating online strategies and safeguarding market share.

The definition of the word “context” can be summarized as ‘all the stuff around something’. So, for this article, the surroundings of a word or phrase in how pet parents' express themselves (Language), and for your business, improving how you connect with customers to grow your online sales/market share (Insights).

Language

Hundreds of thousands of conversations occur every day, so we need to use technology to help us with this enormous task.

⚠️

However, we must ensure that computers and data scientists don’t take what the customers say out of context; otherwise, we’ll lose the meaning.

The components of language that data scientists focus on are:

  • Noun phrases – phrases built around a noun.
  • Phrases based on dependency grammar patterns – ‘dependency grammar’ is a process that captures the relationship between words in a sentence, or piece of text, using the grammatical structure of that text.

Let’s look at some sample sentences and identify the ‘noun phrases’ and ‘dependency grammar phrases’.

As you read, focus on the highlighted text, disregard the rest and then read again in full. See how meaning and context can get lost – the highlighted sections are not all we want to understand from what customers talked about, and we end up missing critical parts of the information.

Sentence 1:

“to my surprise , all three of my cats seem to love this !”

“to my surprise , all three of my cats seem to love this !”

Sentence 2:

“he likes the taste very much !”

he likes the taste very much !”

Sentence 3:

“while I am not a fan of hills , all my cats try and eat this food !”

“while I am not a fan of hills , all my cats try and eat this food !”

Sentence 4:

“we switched him to a prescribed diet and he seems to enjoy the taste and the flavour of the food.”

we switched him to a prescribed diet and he seems to enjoy the taste and the flavour of the food.”

Sentence 5:

“i was concerned about switching to another cat food because my cats are very picky eaters, but they took to eating royal canin veterinary diet right away !”

i was concerned about switching to another cat food because my cats are very picky eaters , but they took to eating royal canin veterinary diet right away !”

Sentence 6:

both my cats seem to like the dry food chicken flavor

“both my cats seem to like the dry food chicken flavor”

Insights

Let’s see how the above sample sentences look when grouped by similar meanings.

GROUP A

In this group, the pet owners revealed that they were initially skeptical about the cat food, but their cats liked it. Although the sentences vary in length, they still capture the same meaning and context:

Sentence 1:

“to my surprise , all three of my cats seem to love this !”

Sentence 3:

“while I am not a fan of hills , all my cats try and eat this food !”

Sentence 5:

“i was concerned about switching to another cat food because my cats are very picky eaters , but they took to eating royal canin veterinary diet right away !”

GROUP B

In this group of sentences, the pet owners highlight the taste or flavor as the reason for their preference (and don’t mention feeling skeptical about the product).

Sentence 2:

“he likes the taste very much !”

Sentence 4:

“we switched him to a prescribed diet and he seems to enjoy the taste and the flavour of the food.”

Sentence 6:

“both my cats seem to like the dry food chicken flavour”

At PetThinQ, leveraging the latest development in NLP, we’ve built classification models using carefully labeled pet category data. The results of the classification models are put through a further clustering process, which uses ‘sentence embedding’ to group data in a similar context. 

Language is complex, so it’s difficult to expect marketers to be versed in the complicated world of NLP and linguistics – especially when many of us struggle to use correct grammar in our everyday lives.

In the mad scramble for insights, brands and marketers need to ensure that what customers say is not taken out of context. And meaning has not been lost in the analysis.

The prize is enormous and can be costly if you get it wrong. After all, everyone agrees that relevance is vital online.


🥘

Context and meaning = in language + across social data + in insights

Thanks for reading through to the end.🐶

If you’d like to learn more about how we go further, please read our article, “Slice and dice, the first step in preparing a recipe."

What’s a Rich Text element?

The rich text element allows you to create and format headings, paragraphs, blockquotes, images, and video all in one place instead of having to add and format them individually. Just double-click and easily create content.

Static and dynamic content editing

A rich text element can be used with static or dynamic content. For static content, just drop it into any page and begin editing. For dynamic content, add a rich text field to any collection and then connect a rich text element to that field in the settings panel. Voila!

How to customize formatting for each rich text
hi how are you

How to customize formatting for each rich text

Headings, paragraphs, blockquotes, figures, images, and figure captions can all be styled after a class is added to the rich text element using the "When inside of" nested selector system.

  • How they feel about brandskfafjkkkkkkkkkkkfkkkkkkkkkkkdfjfjhfjfhfkhffhjfhfhjfhffhfhfjkhwuruywryrywryuw
Headings, paragraphs, blockquotes, figures, images, and figure captions can all be styled after a class is added to the rich text element using the "When inside of" nested selector system.