Let Me Relax Dubai Russian Call girls O56338O268 Dubai Call girls AgenCy
Thrifty Food Tweets on a Rainy Day
1. Thrifty Food Tweets on a Rainy Day:
Analysing the Language of Food
in Various Contexts
Maija Kāle, Matīss Rikters
2. Outline
• Project overview
• Dataset collection, processing, annotation
• Sentiment analysis, named entity recognition, question answering
• Dataset analysis, aspects from cognitive science
• Two recent papers
• What Food Do We Tweet about on a Rainy Day?
• Tweeting on an Empty Stomach: Unpacking Food Price Hikes and Inflation via Twitter
3. Project overview
• Started as my bachelor’s thesis in 2011
• Was running for years with little disruptions
• https://tvitediens.lv - go check it out
• Has its own Twitter account https://twitter.com/Twitediens
• Every day it tweeted
• 5 most mentioned foods of the last 24 hours
• 5 most active users of the last 24 hours
• A random recommendation for lunch
• Twitter users occasionally interacted with it
• Been facing difficulties after the recent Twitter
leadership change, on pause at the moment...
5. Dataset overview
https://github.com/Usprogis/Latvian-Twitter-Eater-Corpus
Domain-specific about food and eating written in Latvian
2.5M+ tweets
• ~5,500 + 744 tweets with manually annotated sentiment
(positive, neutral, negative) for training and testing
• 744 tweets with manually annotated named entity classes of person names,
locations, organizations, food and drinks, and miscellaneous named entities
• ~43,000 automatically aggregated question-answer tweet pairs
• ~155,000 tweets with images
• ~167,000 with location info
5
8. Experiments
• Sentiment analysis – about 5,500 tweets annotated for training and
744 as a test dataset
• Named entity recognition – the same 744 tweets annotated with
place, person, food, time, and misc. entities
• Question answering – about 19,000 tweets that express questions
along with any replies to the tweets make up about 43,000 question-
answer tweet pairs
• Multimodal experiments – about 155,000 tweets have images,
experiments still in progress...
10. How to determine sentiment?
It was difficult to agree upon sentiment of some tweets
Consider those:
• “Batars tak arī viņus ēda paļube tgd mums no 9 izlabos uz 3 :D”
• “Batars was also eating them and now our grades will be marked from 9 to 3 :D”
• “Ja vēlies pazaudēt pāris kilogramus, izrauj savus zobus! Tad arī turpmāk būs
grūti apēst parāk daudz”
• “If you want to lose weight, just pull out your teeth! Then it is going to be
difficult to eat too much”
14. Relation to weather
• ‘Weather people’ is a term used by Bakhshi (2014) to explain our
dependence on the weather for food choice and satisfaction
• The weather:
• significantly alters consumers’ mood and consequently - behaviour
• affects both the frequency and the content of feedback provided by
food consumers
16. Results
Product Rainy Windy Warm Cold
Tea 8.78% 6.64% 7.70% 10.08%
Coffee 6.59% 5.94% 6.77% 6.73%
Chocolate 4.83% 3.50% 4.56% 5.14%
Ice cream 3.05% 1.75% 4.04% 2.39%
Meat 4.20% 9.44% 4.38% 3.95%
Potatoes 3.16% 2.80% 3.42% 3.17%
Salad 2.19% 3.15% 2.14% 1.81%
Cake 2.77% 4.20% 2.85% 2.93%
Soup 2.44% 2.10% 2.63% 2.57%
Pancakes 2.16% 0.70% 2.07% 2.20%
Sauce 2.01% 0.70% 2.07% 1.65%
Apples 1.35% 1.75% 1.86% 1.24%
Dumplings 2.25% 1.05% 2.28% 2.12%
Chicken 1.75% 2.10% 1.85% 1.72%
Negative Neutral Positive
Cold 12.59% 37.25% 50.17%
Warm 13.20% 38.68% 48.12%
Windy 23.15% 48.40% 28.45%
Snowy 11.88% 36.06% 52.06%
Rainy 13.63% 38.64% 47.73%
High Pres 23.10% 48.26% 28.63%
Low Pres 12.63% 38.72% 48.65%
• From the ~167,000 tweets with location data
• ~68,000 from Riga
• ~9,000 from areas around Riga
• For more location-related tweets, we selected all
remaining tweets which mention Riga or any of its
surrounding areas (Mārupe, Ķekava, etc.) in any valid
inflected form, adding ~54,000 tweets
• Total amount for the analysis - 131,595 tweets
• For sentiment analysis We use the 5,420 annotated tweets to
fine-tune multilingual BERT for this task along with ∼20,000
sentiment-annotated Latvian tweets from other sources
• Reaching an accuracy of 74.06% on the 744 tweet test set from LTEC
17. Rising food costs
• Recent food inflation rates in the Baltic countries have been the
highest in the euro area, ranging from 12% to 19% year-on-year
• Global food prices increased by 31% from December 2019 to
December 2022, while in Latvia this increase was 39.8%
• Latvia’s GDP per capita in 2022 was around three quarters of
the EU average, meaning that food price increases have a
significant impact on overall household spending patterns
21. Some conclusions so far, more to come
Large scale social network data can be helpful for better understanding human and food
relationships and forming strategies and tactics for nudging for healthier (but not necessarily less
tasty) food behavior
By researching food related behavior on social media we can move from fragmented and valuable
data to a better understanding and knowledge of food choice and sentiment associated with it
Our research results reveal that negative sentiment expressed about meat in Twitter is rising
steadily, however, large part of neutral tweets remain
Neutrality has, however, sharply decreased with the beginning of Covid-19 pandemic
Recognising and understanding the impact of weather on food consumers and their affective
responses helps to explain the complexities
22. Publications
• Sproģis, U., Rikters, M. (2020). What Can We Learn From Almost a Decade of Food
Tweets. In The 9th Conference on Human Language Technologies - the Baltic Perspective.
• Kāle, M., Rikters, M. (2021). Fragmented and Valuable: Following Sentiment Changes in
Food Tweets. In Smell, Taste, and Temperature Interfaces. ACM CHI 2021 workshop.
• Kāle, M., Rikters, M., Šķilters, J. (2021). Tracing Multisensory Food Experience on
Twitter. International Journal of Food Design.
• Kāle, M., Rikters, M. (2023). What Food Do We Tweet about on a Rainy Day? 言語処理
学会第29回年次大会.
• Kāle, M., Rikters, M. (2023). Exploring the Sentiment of Latvian Twitter Food Posts in
Various Weather Conditions. Digital Humanities in the Nordic and Baltic Countries 2023
• Kāle, M., Rikters, M. (2023). Tweeting on an Empty Stomach: Unpacking Food Price
Hikes and Inflation via Twitter. Currently under review.
23. All on GitHub
• Website - https://github.com/M4t1ss/TwitEdiens
• Main corpus - https://github.com/Usprogis/Latvian-Twitter-Eater-Corpus
• NER corpus - https://github.com/RinaldsViksna/Latvian-food-NER-corpus
• Sentiment analysis - https://github.com/M4t1ss/sentiment-analysis-toolkit
• Processing scripts - https://github.com/M4t1ss/Latvian-Twitter-Eater-Corpus-
Processing