The Linguistics of Sentiment Analysis

Total Page:16

File Type:pdf, Size:1020Kb

The Linguistics of Sentiment Analysis Portland State University PDXScholar University Honors Theses University Honors College 5-24-2013 The Linguistics of Sentiment Analysis Laurel Hart Portland State University Follow this and additional works at: https://pdxscholar.library.pdx.edu/honorstheses Let us know how access to this document benefits ou.y Recommended Citation Hart, Laurel, "The Linguistics of Sentiment Analysis" (2013). University Honors Theses. Paper 20. https://doi.org/10.15760/honors.19 This Thesis is brought to you for free and open access. It has been accepted for inclusion in University Honors Theses by an authorized administrator of PDXScholar. Please contact us if we can make this document more accessible: [email protected]. The Linguistics of Sentiment Analysis by Laurel Hart An undergraduate honors thesis submitted in partial fulfillment of the requirements for the degree of Bachelor of Arts in University Honors and Applied Linguistics Thesis Adviser George Tucker Childs Portland State University 2013 Abstract Computational linguistics is a field that was founded by linguists, but more recently is the domain of more computer scientists than linguists. Use of data-driven and machine learning methods for computational linguistics applications is now more common than hand-written linguistic rules. In order for a linguist to enter the field, it is essential that he or she be familiar with methods and techniques from computer science. The purpose of this paper is two-fold. The first is to serve as a linguist©s introduction to concepts from outside of linguistics that are used in computational linguistics. The second purpose is to illustrate the use of linguistic features for a specific task known as sentiment analysis. This task involves determining the sentiment of a piece of text. By way of examining linguistics within sentiment analysis, this paper will begin to gesture at the potential role for linguists in the modern field of computational linguistics as a whole. The goal is to encourage and enable linguists to re-engage with computational linguistics by providing a suitable introductory work. Table of Contents Part I - Introduction...................................................................................................4 Part II - Groundwork..................................................................................................6 1 Computational Linguistics Natural Language Processing................................................6 1.1 Building a corpus for NLP..............................................................................................7 1.1.1 Amazon.................................................................................................................7 1.1.2 Livejournal...........................................................................................................10 1.1.3 Twitter.................................................................................................................11 1.2 Pre-processing steps....................................................................................................13 1.3 Building a corpus, continued.......................................................................................15 2 Features, models, and tools of NLP................................................................................15 2.1 Unigrams and Bag of Words (BoW) models ................................................................15 2.2 Named Entities............................................................................................................17 2.3 Part-of-speech tagging.................................................................................................18 2.4 Pattern extraction........................................................................................................19 3 Algorithms and Measuring Success................................................................................19 4 Machine Learning..........................................................................................................20 4.1 Supervised Learning....................................................................................................21 4.2 Unsupervised Learning................................................................................................21 4.3 Other types of learning................................................................................................21 5 Summary.......................................................................................................................22 Part III - Sentiment Analysis.....................................................................................23 1 Sentiment Analysis........................................................................................................23 1.1 Building a Corpus, Revisited........................................................................................24 1.2 Applications................................................................................................................24 2 Specifics.........................................................................................................................25 2.1 Polarity / Opinion Scoring...........................................................................................25 2.1.1 Text Classification Approach................................................................................25 2.1.2 Sentiment Lexicon Approach...............................................................................25 2.1.3 Linguistic features................................................................................................26 2.2 Affective State / Mood Classification...........................................................................29 2.2.1 Challenges...........................................................................................................29 2.2.2 Approaches..........................................................................................................30 2.2.3 Linguistic features................................................................................................30 2.2.4 Applications.........................................................................................................31 2.3 Sarcasm Detection.......................................................................................................31 2.3.1 Linguistic features................................................................................................31 2.3.2 Applications.........................................................................................................32 3 Summary.......................................................................................................................32 Part IV - Conclusions................................................................................................33 References ...............................................................................................................34 Selected References by Topic....................................................................................36 Polarity / Opinion Scoring...............................................................................................36 Affective State / Mood Classification................................................................................36 Sarcasm Detection............................................................................................................36 Appendix I: Abbreviation Glossary...........................................................................37 Laurel Hart / The Linguistics of Sentiment Analysis Part I Introduction Though this paper is titled The Linguistics of Sentiment Analysis, an equally accurate alternate title would be Sentiment Analysis for Linguists. It is undeniable that most of the work in the field of sentiment analysisÐand even more broadly, in the field of computational linguisticsÐis not only carried out but also written for an audience more specialized in computer science and statistics than in linguistics. Even one of the most extensive and widely-referenced surveys of the field of sentiment analysis leaves discussion of linguistic contributions to the field at ª...we were directly charged to focus on information-access applications, as opposed to work of more purely linguistic interest. We stress that the importance of work in the latter vein is absolutely not in question,º1 and says little more on the subject. The purpose of this paper is not to show that focusing on the computational side of the field is in any way wrong, but to begin to re-access a field which has become separated from other studies of language. Over the course of its development, the field of computational linguistics has shifted its emphasis from linguistics to computer scienceÐtoday strides in computational linguistics are made not by linguistic discoveries, but by computational optimizations and exploration of statistical properties. Currently, it is nearly impossible for a linguist with no computer science background to participate in computational linguistics, but quite commonplace for a computer scientist with little knowledge of linguistics to participate. This field, which was formerly dominated by linguists, has become so steeped in specialized, technical language that is not approachable without equally-specialized training. The contribution of linguistics is ªnot in question,º but the role of linguists in modern computational linguistics
Recommended publications
  • Innovation Relationships in the Emergence of Fintech Ecosystems
    Proceedings of the 52nd Hawaii International Conference on System Sciences | 2019 Innovation Relationships in the Emergence of Fintech Ecosystems Kaisa Still Ilkka Lähteenmäki Marko Seppänen VTT Technical Research Centre Aalto University Tampere University of Technology of Finland Ltd [email protected] [email protected] [email protected] Abstract The context of our paper is about the transformative power of digital technology in This paper explores the emergence of ecosystems banking, financial and insurance. Technology in the context of Fintechs infusing digital technology developments have transformed banks’ business into financial services. The rapid rise of Fintechs has landscape [8] and they are turning into new models of changed the business landscape, challenging the cooperation, replacing the hierarchically managed established firms with novel solutions and services. value chains with ecosystems that are modular and As a result, the established firms are turning to new decentralized in their architecture [10]. models of cooperation, replacing the hierarchically The term ecosystem is widely used to describe the managed value chains with ecosystems that are interdependencies and possibilities for novel value modular and decentralized in their architecture. creation. Moore [15] defined the business ecosystem First, a bibliometric analysis was conducted to as follows: “companies coevolve capabilities around present the content and relationships in Fintech a new innovation: they work cooperatively and research in general. Then, a case study on two of the competitively to support new products, satisfy biggest retail banks in Finland and their innovation customer needs, and eventually incorporate the next relationships in developing Distributed Ledger round of innovations.” The prefix eco (in relation to Technologies and related services was conducted.
    [Show full text]
  • IT's 10 P.M. Do You Know What Apps Your Kids Are Using?!?!?
    Instagram Facebook Twitter Snapchat Musical.ly WhatsApp kik SayAt.Me Marco Polo Monkey Ask.Fm House Party Fire Chat After School Sarahah VIDEO-MESSAGING APPS • VIDEO APPS LIKE MARCO POLO, HOUSE PARTY AND FIRECHAT ARE THE NEW CHAT ROOMS • MARCO POLO, WHICH HAS BEEN DOWNLOADED AT LEAST 10 MILLION TIMES ON THE GOOGLE PLAY STORE, TOUTS ITSELF AS A VIDEO “WALKIE-TALKIE.” YOU MAKE A VIDEO AND SEND IT. IN RESPONSE YOUR FRIEND MAKES A VIDEO. ALL THE VIDEOS LIVE IN A QUEUE; YOU ADD A VIDEO WHEN IT’S CONVENIENT. YELLOW • YELLOW, WHICH HAS BEEN CALLED “TINDER FOR TEENS” (SWIPE RIGHT IF YOU WANT TO BECOME FRIENDS WITH SOMEONE; SWIPE LEFT IF YOU DON’T), OPENS WITH A GEO-LOCATOR. THERE IS A 13-YEAR- OLD AGE MINIMUM, WHICH THERE’S NO WAY OF VERIFYING. ANONYMOUS APPS • ANONYMOUS APPS HAVE BEEN DEVELOPED FOR PEOPLE INTERESTED IN A FACELESS AND NAMELESS DOCUMENTATION OF THEIR LIVES (AS OPPOSED TO A SELFIE), DRAWING IN CHILDREN WHO LEARNED FROM EARLIER GENERATIONS ABOUT THE CONSEQUENCES OF AN OFFENSIVE ONLINE FOOTPRINT. • THERE ARE A NUMBER OF ANONYMOUS APPS ON THE MARKET — AFTER SCHOOL, SARAHAH, SAYAT.ME, MONKEY AND ASK.FM ARE SOME OF THE MOST POPULAR — ALL OF THEM PROMISING THE SAME FEATURE: SPILL INTIMATE FEELINGS ABOUT YOURSELF OR, ON THE FLIP SIDE, SPREAD RUMORS AND ATTACK FRIENDS, WITHOUT ANY TRACE OF WHO SAID WHAT. EPHEMERAL APPS • MANY ADULTS HAVE HEARD OF SNAPCHAT AND INSTAGRAM STORIES, BUT WHAT ABOUT LIVE.LY, A RISING LIVE-STREAMING APP WITH A LARGE TEENAGE AUDIENCE? • ALL THREE WORK LIKE A DISAPPEARING MAGIC ACT.
    [Show full text]
  • Coping with Covid-19
    COPING WITH COVID-19 Being Social While Social Distancing Margaret Machara, Ph.D., CFLE, Professor, Department of Human Sciences Contact: 615-963-5628, [email protected] Beatrice Harris, Ph.D., Associate Professor & Extension Specialist Rita Fleming, M.S., Assistant Professor & Extension Specialist Kane Reeves, Ed.D., Extension Agent & County Director “Cherish your human connections: your relationships with friends and family” ― Barbara Bush At a time when most of us have been encouraged to stay home as much as possible, we are reminded how important human connection is. While we’ve struggled to maintain a balance of personal space and connection with the family in our home, we also are missing our other friends and family. Social relationships are connected to positive mental health. We may just need to be creative in how we maintain it right now! KICK IT OLD SCHOOL Make a schedule to remind yourself to call Remember letters? At a time occasionally. If you don’t have a lot to say, write when a trip to the mailbox is down some memories to relive or jokes to share. your big outing for the day, give your friends and family AT YOUR something pleasant to pull out. CONVIENENCE A card, a letter, a postcard, even a package is a nice surprise. This is a busy and strange Even if you don’t have a lot of time for all of us. Many news, saying hello and that people are working from you’re thinking of them keeps home and some may be educating their children the connection alive.
    [Show full text]
  • Connecting the Residents of the Indigo at Lakewood Ranch Community
    Connecting the Residents of the Indigo at Lakewood Ranch Community April 2020 Indigo Insider Newsletter April 2020 1 Community Hello Indigo Residents! It’s very exciting to be your new Indigo Community Association Manager and I look forward to working alongside all residents in this beautiful community to keep you informed and your Indigo Neighborhood Association running smoothly! I hold a Certified Manager of Community Associations (CMCA) designation that is obtained through education in Governance, Legal, Ethical Conduct, Budgets, Reserves, Investments and Assessments, Contracting, Financial Controls, Risk Management, Insurance, Property Maintenance and additional specified areas. I have been a Community Association Manager for seven (7) years and have worked with your builder, Neal Communities, previously. Please do not hesitate to contact me with questions or concerns. The best way to contact me is via email and my email address is found below. You can also call the Access Management office at the number listed and I will return your call as soon as possible. I look forward to meeting you in an informal gathering at the clubhouse once the self-quarantine is over! In the meantime, stay well and practice social distancing to help “flatten the curve”. Colleen Fletcher, CMCA, CAM Community Association Manager cfletcher@accessdifference,com 813-607-2220 Indigo Insider Newsletter April 2020 2 Fitness Challenge: Backyard Easter Egg Hunt There’s plenty we can do from home to enjoy our home comforts and stay fit, both physically and mentally. At the top of the list? Exercise! So pull up a patch of grass and enjoy this compelling “who’d have thought” exercise opportunity.
    [Show full text]
  • Best Apps for Long-Distance Couples
    Best for basic video calling: Skype Skype is a free video-calling program that works on phones, tablets and computers, allowing people to do audio and video chatting from anywhere they have a data connection. Being able to see the other person allows you to see their facial expressions, share pictures, and see their environment. This not only adds important information but brings a higher level of intimacy. "Dave and I used Skype when I was working in Phoenix and he was home in another state," says Meghan Johnson. "It definitely helped to see each other instead of just hearing. It felt more real and we were able to connect better, especially when one person isn't much of a phone talker." Can long-distance relationships really work? Best for couples on different schedules: Marco Polo If you combined a walkie talkie, a video recorder, and email, and then added silly filters, you'd get Marco Polo (free for Android and iOS). This "visual walkie talkie" app is great for couples who operate on wildly different schedules, making Skype or traditional phone calls difficult. You can send your honey a video message whenever you feel like it and they can open it whenever they're ready. "My husband Jonathan and I work opposite shifts and rarely see each other during the week. We use Marco Polo to send video messages to each other," says Michelle Stilley of Omaha, Nebraska. "It's nice because we can watch them and reply on our own tine, rather than making sure we're both available at the same time to chat." Not getting much of a response from a long-distance love? These signs suggest the problem could be you.
    [Show full text]
  • The Momo Challenge
    the Momo Challenge Momo Is A No No The Momo Challenge has recently dominated headlines not once, but twice—first because it was supposedly linked to a 12-year-old’s suicide in Buenos Aires, then more recently because it allegedly began popping up in children’s videos online. But the second time, it became more complicated: Was it an actual challenge scaring children into harming themselves and others? Or was it made up in order to increase page views and interactions on social media? This confusion only added to the chaos, with concerned parents unsure who to believe or what to do. On the one hand, if it isn’t fabricated, then they want to talk to their kids about it ASAP, as well as take measures to ensure they never fall prey to it. But on the other hand, if it is indeed false, then they don’t want to needlessly scare their kids or add to the pandemonium. This Guide seeks to wade through all the information currently available to help you make sense of the whole debacle and offers practical ways to address it with your children and teenagers. What is it exactly? It’s an online challenge that targets teens, tweens, and even younger children (via snippets in YouTube Kids videos) and encourages them to contact an unknown person called Momo (represented by a woman with a gaunt face, bulging eyes, and creepy smile) via WhatsApp or Facebook primarily (though any other platform with messaging capabilities can also be used). The account then sends them violent/graphic images and texts, telling them to engage in various “challenges, which start out small and strange, then escalate to harming themselves and others, possibly culminating in the final challenge of committing suicide.
    [Show full text]
  • Is Text Me App Traceable
    Is Text Me App Traceable Temp soled penetratingly if permeable Stanwood mistimes or magnetised. Sometimes untangled Kareem disheveling her affluent schismatically, but togate Rodd animadvert freshly or slub smilingly. Paedophilia Sauncho sometimes mask his denotations effusively and literalising so tremendously! Number in this should come back, so it operates in addition to me is text app traceable, burner number out to me secure communications as good to jump to. Hushed number to change of countries and then pick whose calls? Messages after a human right corner of me a criminal or delete your feedback on modern mobile internet is text me app traceable and is not registered in jurisdictions that information can i need. By net lexical database. Asking for me having to legal notices for text is me app traceable, i track the phone number and delete the american consumers all as leis de datos. The left behind the monitoring meta data protection des eigentums oder der rechte, you need to text is me app traceable and me and protected by entering the coming up? Want to android by offering tools activities of devices, we mean purpose of. Students get your phone and me and save specific app traceable and do this screen for me is text app traceable, botim grants the platform is real thing i treat each app? Pretendiamo che le faire, we looked at any user status submissions caused by the text is me app traceable and anonymous. You have shared with the one can. Usually from the texting you have texted anyway let me a competitor in the city hall is free texts.
    [Show full text]
  • E-Science : Open, Social and Virtual Technology for Research Collaboration
    E-SCIENCE : OPEN, SOCIAL AND VIRTUAL TECHNOLOGY FOR RESEARCH COLLABORATION Author: Claudia Koschtial Number of Pages: none Published Date: 07 Apr 2021 Publisher: Springer Nature Switzerland AG Publication Country: Cham, Switzerland Language: English ISBN: 9783030662646 DOWNLOAD: E-SCIENCE : OPEN, SOCIAL AND VIRTUAL TECHNOLOGY FOR RESEARCH COLLABORATION E-Science : Open, Social and Virtual Technology for Research Collaboration PDF Book It is a book which both shares recent history and discerns future directions. A distinguishing feature of the FDEs under consideration is that the evolution rate of the proc{lsses described by such equations depends on the past history. NET, they can start plugging. Tips for learning the art of public speaking while still in the college classroom. Others never had it to begin with and live their lives in the shadows of what could have been. -In order to keep the location definitions short and clear, simple terms have been substituted for the classical terminology. An opening portrait of the writer and activist Terry Tempest Williams traces her deepening devotion to Earth. Sponsored by NASA and executed by the Jet Propulsion Lab, the project ran from 1959 to 1965 and produced management techniques, flight operating procedures, and technology employed by later space missions. Yin yoga offers a remedy to the stress and hustle of your busy yang life. MantlerandJ. For example: 'super complex grammar' or 'fear of actually speaking'. The fact that the English language is well on the way to becoming the international medium at European scientific conferences is a great asset in terms of mutual understanding. The book draws upon research of international relevance conducted in a range of 'Flexible Learning Centres' and 'democratic schools' in Australia and the UK; it suggests that improving the retention levels of young people in formal education will require schooling practices to change.
    [Show full text]
  • COVID-19 Resources and Activities for Residential
    COVID-19 Resources and Activities for Residential Melissa D’Accordo, Ph.D. Curriculum & Training Specialist United Cerebral Palsy Associations of New York State, Inc. d/b/a Constructive Partnerships Unlimited 2324 Forest Ave. Staten Island, NY 10303 [email protected] 1 Introduction The Coronavirus (COVID-19) has interrupted all of our lives in so many ways. We are all trying to stay healthy, balance work, homeschooling our children, keeping up with daily chores, staying informed with the latest COVID-19 facts and trying to find some type of normalcy. We are all experiencing a new stress in our day to day lives. The people we support in our residences are facing the same concerns. It is more important then ever to create an environment that provides safety and nurturing. We need to create a sense of normalcy and have set daily routines. Right now, there are a lot of unknowns, but together we will get through this. This resource guide is intended to be used as a resource in all of our residential settings. The content will help staff in supporting the people we support. It is important that we create some kind of daily routine (see Calendar/Weekly Schedule) so that there is a sense of normalcy during a time that is nothing but normal. Staff as well as the people we support will benefit from having a daily routine and meaningful activities to do daily. It will help pass time, get our minds off of the coronavirus and most of all provide the people we support with meaningful activities.
    [Show full text]
  • Marco Polo Fact Sheet
    Marco Polo - Fact Sheet !1 What is Marco Polo? Marco Polo is the video communication app that helps people feel close, even when life gets busy. Marco Polo makes it possible to see loved ones face-to-face, even when life is jam packed. With Marco Polo users have turn- based face-to-face conversations that fit into their lives because they talk when it works for them. Best friends or family can watch live if they are free, but if not, everything is saved and they can watch and reply later. What is Marco Polo’s mission? Marco Polo’s purpose is to help people feel close. The company is on a mission to help people around the world rediscover the blessings of authentic relationships. Over the last decade technology has been focused on making it possible to stay in touch with lots of people in a way that's very efficient. As a result, people have sacrificed quality of connection. We have hundreds of connections, yet collectively we are experiencing a loneliness epidemic; nearly half of Americans report feeling lonely. Marco Polo makes it possible for people to have spontaneous, authentic, face-to-face conversations on their own time. Friends and family can see each other’s facial expressions and hear each other’s tone of voice. Marco Polo enables users to be together with the people they really care about and be part of their real lives, versus watching a highlight reel. Marco Polo - Fact Sheet !2 What was the inspiration behind Marco Polo? Marco Polo Co-Founders Vlada and Michal Bortnik wanted to model for their young daughters what it looked like to work on something that was personally meaningful, reflected their shared values, and made a big impact on the world.
    [Show full text]
  • Marco Polo Communication Research
    Marco Polo Communication Research Peter Goodnough February 5, 2020 Confidential 1 Topline Findings ● 74% of study participants reported that using Marco Polo had improved their mood at the end of the 14-day study. ● Between day 1 and day 14 of the study, users of Marco Polo who reported that the app made them feel significantly closer to their communication partners increased from 7.4% to 22.2%. ● Net Promoter Scores (NPS) for Marco Polo (how likely would you be to recommend Marco Polo to a friend or family member) increased from -6 to 59 during the study. Even using the Day 2 score of 19 as a baseline, NPS increased threefold during the study. ● By day 6 of the study, 27% of users said they would definitely continue using Marco Polo after the study was complete. By day 14 of the study, that number had grown to 52%. ● At the end of the study, Marco Polo was the favorite video-based communication app of the study group, followed by Facetime. Confidential 2 Participant Group & Methodology Does using Marco Polo instead of texting increase the feeling of emotional closeness between communication partners? Sample: Primary recruitment: ● 15 stay-at-home mothers with at least 1 child under 5 at home ● HHI over $50k What is your relationship with your ● Geographically spread across US communication partner in this study? ● Use texting as primary means of communication ● Never used Marco Polo before Secondary recruitment: Each primary recruit enlists 1 communication partner who they communicate with daily through text; must be friend or family member, no business-related communication.
    [Show full text]
  • MATURITY of VENTURE CAPITAL in SPAIN Successful Cases When a Transformation of Startup to Solid Company Has Occured
    WEBCAPITALRIESGO MATURITY OF VENTURE CAPITAL IN SPAIN Successful cases when a transformation of startup to solid company has occured 2017 Contributor: Sponsored by: - - Copyright © 2017, Webcaprisk Servicios, S.L. Total or partial reproduction of this document is strictly forbidden, as is its manipulation with software or transmission in any form via any medium, be it electronic, through photocopying or other means without the previous permission of the Copyright holder. Access to Maturity of Venture Capital in Spain, Successful cases when a transformation of startup to solid company has occured report is free at www.webcapitalriesgo.com; this may not be made availa- ble to the public through any other means, electronic or written, without the written permission of the rights holder. The source of data in all chart show in the report is ASCRI/Webcapitalriesgo.com Maturity of Venture Capital in Spain Successful cases when a transformation of startup to solid company has occured March 2017. Release 1.0 Webcaprisk Servicios S.L. is the owner of www.webcapitalriesgo.com de www.webcapitalriesgo.com - 2 - Index Introduction Executive Summary Conclusions Interviews Ysios Capital Julia Salaverría. Founding partner Inveready Roger Piqué. Investment Director and co-founder Carlos Conti. Director of Venture Debt Funds and partner Enisa Bruno Fernández Scrimieri. CEO Ad&Law Miguel Ángel Martínez Bernal. Partner - 3 - Introduction Venture Capital activity has undergone a great change in recent years in Spain. Beyond the extra- ordinary amount invested in 20151, a qualitative leap has taken place in the last years, having markedly increased the maturity degree of this financial activity. The massive arrival of international investors, whose figure has increased fivefold in the last 5 years, has been the main change experienced.
    [Show full text]