A Data and Analysis Resource for an Experiment in Text Mining a Collection of Micro-Blogs on a Political Topic

A Data and Analysis Resource for an Experiment in Text Mining a Collection of Micro-Blogs on a Political Topic

The University of Manchester Research A data and analysis resource for an experiment in text mining a collection of micro-blogs on a political topic Link to publication record in Manchester Research Explorer Citation for published version (APA): Black, W. J., Procter, R., Gray, S., & Ananiadou, S. (2012). A data and analysis resource for an experiment in text mining a collection of micro-blogs on a political topic. In Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC 2012) (pp. 2083-2088). European Language Resources Association. http://www.lrec-conf.org/proceedings/lrec2012/pdf/1056_Paper.pdf Published in: Proceedings of the Eighth International Conference on Language Resources and Evaluation (LREC 2012) Citing this paper Please note that where the full-text provided on Manchester Research Explorer is the Author Accepted Manuscript or Proof version this may differ from the final Published version. If citing, it is advised that you check and use the publisher's definitive version. General rights Copyright and moral rights for the publications made accessible in the Research Explorer are retained by the authors and/or other copyright owners and it is a condition of accessing publications that users recognise and abide by the legal requirements associated with these rights. Takedown policy If you believe that this document breaches copyright please refer to the University of Manchester’s Takedown Procedures [http://man.ac.uk/04Y6Bo] or contact [email protected] providing relevant details, so we can investigate your claim. Download date:29. Sep. 2021 A data and analysis resource for an experiment in text mining a collection of micro-blogs on a political topic William Black, Rob Procter, Steven Gray, Sophia Ananiadou NaCTeM, School of Manchester eResearch Centre (MeRC) Centre for Advanced Computer Science School of Social Sciences Spatial Analysis (CASA) University of Manchester University of Manchester University College London [email protected] [email protected] [email protected] [email protected] Abstract The analysis of a corpus of micro-blogs on the topic of the 2011 UK referendum about the Alternative Vote has been undertaken as a joint activity by text miners and social scientists. To facilitate the collaboration, the corpus and its analysis is managed in a Web-accessible framework that allows users to upload their own textual data for analysis and to manage their own text annotation resources used for analysis. The framework also allows annotations to be searched, and the analysis to be re-run after amending the analysis resources. The corpus is also doubly human-annotated stating both whether each tweet is overall positive or negative in sentiment and whether it is for or against the proposition of the referendum. 1. Introduction the user to search for semantic annotations by browsing. The widespread adoption of new forms of communications 3. The Corpus and media presents both an opportunity and a challenge for social research (Savage and Burrows, 2007; Halfpenny and The corpus comprises tweets sent in the period 10th April Procter, 2010). The rapid growth over the past ten years 2011 to the 7th May 2011 with a simple query ‘AV’ as the in the Web and the recent explosion of social media such selection criterion, harvested by SG. This seems to have as blogs and micro-blogs (e.g., Twitter), social networking sites (such as Facebook) and other ‘born-digital data means Table 1: Basic dimensions of the AVcorpus that more data than ever before is now available. Where once the main problem for researchers was a scarcity of Measure Qty. data, social researchers must now cope with its abundance. N. of tweets 24,856 Realising the research value of these new kinds of data N. of distinct followed sender IDs 18,190 demands the development of more sophisticated analytical N. of tweets referencing a @sender ID 7,698 methods and tools. The use of text mining in social research N. of distinct @sender references with tar- 1,454 is still at an early stage of development, but previous work get in corpus in frame analysis and sentiment analysis indicates that this is an approach that has promise (Entman, 1993; Ananiadou et al., 2010; Somasundaran et al., 2007; Somasundaran and worked quite satisfactorily as it has obtained greater cover- Wiebe, 2009; Wilson et al., 2009). age than would a restriction to topic-relevant hash tags such The project reported here is a case study of the use of text as #YestoAV. A very small proportion of noise exists, from mining for the analyse of opinions manifest in twitter data. one of two sources: Some tweets are in a language in which The key aim of the project is to explore the potential value av is a preposition, and a slightly larger but still negligible to researchers of political behaviour of using text mining proportion are using av as a ‘text language’ abbreviation for tools to extract the semantic content of twitter feeds, e.g. have, and are not on the topic of the alternative vote. people, places, topics and opinions. As Table 1shows, the corpus is of moderate size, and there are limitations due to the collection methodology. If we 2. The AVtwitter Project had wanted to focus exclusively on conversation structure The AVtwitter project aims to provide social scientists with as (Ritter et al., 2010), we would have filtered out those flexible text mining tools that they can use to explore social whose antecedents or followers are absent from the corpus. media content as primary data. A collection of 25K tweets Nonetheless, we have the basis to analyze the structure of at was made over a 3-week period up to the recent UK referen- least 1,454 distinct threads, as well as the corpus as a whole dum on the question of whether the Alternative Vote (AV) and the messages taken individually. system should replace First Past the Post (FPTP) in elec- tions to the UK parliament. For analysis, the corpus has 4. The Cafetiere` platform been loaded in the Cafetiere` text-mining platform, which The Cafetiere` platform was adopted for the AV twitter enables conventional text mining analysis (dictionary and project, because being based on relational database cor- rule-based named entity recognition, terminology discov- pus management, it is possible to conduct searches over ery, sentiment analysis) to be carried out at the user’s direc- the document metadata which comes with the twitter ex- tion in a Web interface. Post analysis, the platform enables port, and metadata added in the course of text analytics Figure 1: Cafetiere` analysis control panel showing links to individual document analysis and sentiment scores applied to the textual content. The core of Cafetiere` is a 4.2. Analysis workflow UIMA-based (Ferrucci and Lally, 2004) suite of text an- The main analysis workflow comprises a UIMA pipeline of alytic components, which cover basic text handling such processes: as tokenization and sentence splitting, part of speech tag- ging, and then user-configurable analysis using dictionary 1. Sentence splitting matching and rule-based analysis. Earlier versions of the system are described in (Black et al., 1998; Vasilakopoulos 2. Tokenization et al., 2004). Based as it now is on UIMA, the components used for analysis are in principle interchangeable, but the 3. PoS tagging user interface for ‘self-service’ text mining1 does not cur- rently allow the end user to change the low-level compo- 4. GeoNames lookup of place names nents or their configuration. Although deviance from nor- mal orthography and spelling is a noted feature of twitter 5. Dictionary lookup usage, it seems less of an issue with those joining the po- 6. Rule-based phrasal analysis litical debate, and we have used an un-adapted PoS tagger trained on a portion of the Penn Treebank corpus. The sentiment lexicon is applied during the dictionary lookup stage, and sentiment-bearing words and phrases are 4.1. Corpus handling just one category of many that can be looked up at a time. A corpus of texts is held in the Cafetiere` system as a ta- ble in a relational database, the body text being held in a Tokenization Tokenization has been amended to cater for character large object field. Each user has their own private the twitter corpus. Tags of the form @follower and #hash lightweight database created when they register. Users may as well as URLs are treated as single tokens. manage their own corpora using the controls shown under This may not be the last word on the matter, since we now the heading My Documents in Figure 1, which allow them consider it interesting to analyze @follower and #hash to create and navigate between directories, and upload files tags into component parts, since these tags often have real for analysis. Files are handled according to their extension. word boundaries indicated with ‘CamelCase’. The parts of Single .txt files are loaded into the currently open directory, such a tag often contain sentiment-bearing words which are and .zip files are unpacked after uploading to create a sub- currently not exposed to dictionary lookup. For an exam- directory within the currently open directory. ple, see the tag ‘@GrumpyOldYouth’ that appears in the For the corpus of 24,856 tweets, prior to upload, we ar- first tweet that is visible in Figure 1. ranged the tweets into a directory for each distinct day in PoS Tagging The part of speech tagger used in the period over which the data were collected, so as to avoid the pipeline is JTBL, an implementation of Brill’s excess directory listing length. This is not currently a fully- transformation-based rule-learning algorithm, which is automated procedure that users could replicate for them- available from Sourceforge.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    7 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us