Text mining explained

Text mining, text data mining (TDM) or text analytics is the process of deriving high-quality information from text. It involves "the discovery by computer of new, previously unknown information, by automatically extracting information from different written resources."[1] Written resources may include websites, books, emails, reviews, and articles. High-quality information is typically obtained by devising patterns and trends by means such as statistical pattern learning. According to Hotho et al. (2005) we can distinguish between three different perspectives of text mining: information extraction, data mining, and a knowledge discovery in databases (KDD) process.[2] Text mining usually involves the process of structuring the input text (usually parsing, along with the addition of some derived linguistic features and the removal of others, and subsequent insertion into a database), deriving patterns within the structured data, and finally evaluation and interpretation of the output. 'High quality' in text mining usually refers to some combination of relevance, novelty, and interest. Typical text mining tasks include text categorization, text clustering, concept/entity extraction, production of granular taxonomies, sentiment analysis, document summarization, and entity relation modeling (i.e., learning relations between named entities).

Text analysis involves information retrieval, lexical analysis to study word frequency distributions, pattern recognition, tagging/annotation, information extraction, data mining techniques including link and association analysis, visualization, and predictive analytics. The overarching goal is, essentially, to turn text into data for analysis, via the application of natural language processing (NLP), different types of algorithms and analytical methods. An important phase of this process is the interpretation of the gathered information.

A typical application is to scan a set of documents written in a natural language and either model the document set for predictive classification purposes or populate a database or search index with the information extracted. The document is the basic element when starting with text mining. Here, we define a document as a unit of textual data, which normally exists in many types of collections.[3]

Text analytics

See also: List of text mining methods. Text analytics describes a set of linguistic, statistical, and machine learning techniques that model and structure the information content of textual sources for business intelligence, exploratory data analysis, research, or investigation.[4] The term is roughly synonymous with text mining; indeed, Ronen Feldman modified a 2000 description of "text mining"[5] in 2004 to describe "text analytics".[6] The latter term is now used more frequently in business settings while "text mining" is used in some of the earliest application areas, dating to the 1980s,[7] notably life-sciences research and government intelligence.

The term text analytics also describes that application of text analytics to respond to business problems, whether independently or in conjunction with query and analysis of fielded, numerical data. It is a truism that 80 percent of business-relevant information originates in unstructured form, primarily text.[8] These techniques and processes discover and present knowledge – facts, business rules, and relationships – that is otherwise locked in textual form, impenetrable to automated processing.

Text analysis processes

Subtasks—components of a larger text-analytics effort—typically include:

identification of sets of similar text documents.[11]

Applications

Text mining technology is now broadly applied to a wide variety of government, research, and business needs. All these groups may use text mining for records management and searching documents relevant to their daily activities. Legal professionals may use text mining for e-discovery, for example. Governments and military groups use text mining for national security and intelligence purposes. Scientific researchers incorporate text mining approaches into efforts to organize large sets of text data (i.e., addressing the problem of unstructured data), to determine ideas communicated through text (e.g., sentiment analysis in social media[14] [15] [16]) and to support scientific discovery in fields such as the life sciences and bioinformatics. In business, applications are used to support competitive intelligence and automated ad placement, among numerous other activities.

Security applications

Many text mining software packages are marketed for security applications, especially monitoring and analysis of online plain text sources such as Internet news, blogs, etc. for national security purposes.[17] It is also involved in the study of text encryption/decryption.

Biomedical applications

See main article: Biomedical text mining. A range of text mining applications in the biomedical literature has been described,[18] including computational approaches to assist with studies in protein docking,[19] protein interactions,[20] [21] and protein-disease associations.[22] In addition, with large patient textual datasets in the clinical field, datasets of demographic information in population studies and adverse event reports, text mining can facilitate clinical studies and precision medicine. Text mining algorithms can facilitate the stratification and indexing of specific clinical events in large patient textual datasets of symptoms, side effects, and comorbidities from electronic health records, event reports, and reports from specific diagnostic tests.[23] One online text mining application in the biomedical literature is PubGene, a publicly accessible search engine that combines biomedical text mining with network visualization.[24] [25] GoPubMed is a knowledge-based search engine for biomedical texts. Text mining techniques also enable us to extract unknown knowledge from unstructured documents in the clinical domain[26]

Software applications

Text mining methods and software is also being researched and developed by major firms, including IBM and Microsoft, to further automate the mining and analysis processes, and by different firms working in the area of search and indexing in general as a way to improve their results. Within the public sector, much effort has been concentrated on creating software for tracking and monitoring terrorist activities.[27] For study purposes, Weka software is one of the most popular options in the scientific world, acting as an excellent entry point for beginners. For Python programmers, there is an excellent toolkit called NLTK for more general purposes. For more advanced programmers, there's also the Gensim library, which focuses on word embedding-based text representations.

Online media applications

Text mining is being used by large media companies, such as the Tribune Company, to clarify information and to provide readers with greater search experiences, which in turn increases site "stickiness" and revenue. Additionally, on the back end, editors are benefiting by being able to share, associate and package news across properties, significantly increasing opportunities to monetize content.

Business and marketing applications

Text analytics is being used in business, particularly, in marketing, such as in customer relationship management.[28] Coussement and Van den Poel (2008)[29] [30] apply it to improve predictive analytics models for customer churn (customer attrition). Text mining is also being applied in stock returns prediction.[31]

Sentiment analysis

Sentiment analysis may involve analysis of products such as movies, books, or hotel reviews for estimating how favorable a review is for the product.[32] Such an analysis may need a labeled data set or labeling of the affectivity of words.Resources for affectivity of words and concepts have been made for WordNet[33] and ConceptNet,[34] respectively.

Text has been used to detect emotions in the related area of affective computing.[35] Text based approaches to affective computing have been used on multiple corpora such as students evaluations, children stories and news stories.

Scientific literature mining and academic applications

The issue of text mining is of importance to publishers who hold large databases of information needing indexing for retrieval. This is especially true in scientific disciplines, in which highly specific information is often contained within the written text. Therefore, initiatives have been taken such as Nature's proposal for an Open Text Mining Interface (OTMI) and the National Institutes of Health's common Journal Publishing Document Type Definition (DTD) that would provide semantic cues to machines to answer specific queries contained within the text without removing publisher barriers to public access.

Academic institutions have also become involved in the text mining initiative:

Methods for scientific literature mining

Computational methods have been developed to assist with information retrieval from scientific literature. Published approaches include methods for searching,[39] determining novelty,[40] and clarifying homonyms[41] among technical reports.

Digital humanities and computational sociology

The automatic analysis of vast textual corpora has created the possibility for scholars to analyzemillions of documents in multiple languages with very limited manual intervention. Key enabling technologies have been parsing, machine translation, topic categorization, and machine learning.

The automatic parsing of textual corpora has enabled the extraction of actors and their relational networks on a vast scale, turning textual data into network data. The resulting networks, which can contain thousands of nodes, are then analyzed by using tools from network theory to identify the key actors, the key communities or parties, and general properties such as robustness or structural stability of the overall network, or centrality of certain nodes.[42] This automates the approach introduced by quantitative narrative analysis,[43] whereby subject-verb-object triplets are identified with pairs of actors linked by an action, or pairs formed by actor-object.

Content analysis has been a traditional part of social sciences and media studies for a long time. The automation of content analysis has allowed a "big data" revolution to take place in that field, with studies in social media and newspaper content that include millions of news items. Gender bias, readability, content similarity, reader preferences, and even mood have been analyzed based on text mining methods over millions of documents.[44] [45] [46] [47] [48] The analysis of readability, gender bias and topic bias was demonstrated in Flaounas et al.[49] showing how different topics have different gender biases and levels of readability; the possibility to detect mood patterns in a vast population by analyzing Twitter content was demonstrated as well.[50] [51]

Software

See main article: List of text mining software. Text mining computer programs are available from many commercial and open source companies and sources.

Intellectual property law

Situation in Europe

Under European copyright and database laws, the mining of in-copyright works (such as by web mining) without the permission of the copyright owner is illegal. In the UK in 2014, on the recommendation of the Hargreaves review, the government amended copyright law[52] to allow text mining as a limitation and exception. It was the second country in the world to do so, following Japan, which introduced a mining-specific exception in 2009. However, owing to the restriction of the Information Society Directive (2001), the UK exception only allows content mining for non-commercial purposes. UK copyright law does not allow this provision to be overridden by contractual terms and conditions.

The European Commission facilitated stakeholder discussion on text and data mining in 2013, under the title of Licenses for Europe.[53] The fact that the focus on the solution to this legal issue was licenses, and not limitations and exceptions to copyright law, led representatives of universities, researchers, libraries, civil society groups and open access publishers to leave the stakeholder dialogue in May 2013.[54]

Situation in the United States

US copyright law, and in particular its fair use provisions, means that text mining in America, as well as other fair use countries such as Israel, Taiwan and South Korea, is viewed as being legal. As text mining is transformative, meaning that it does not supplant the original work, it is viewed as being lawful under fair use. For example, as part of the Google Book settlement the presiding judge on the case ruled that Google's digitization project of in-copyright books was lawful, in part because of the transformative uses that the digitization project displayed—one such use being text and data mining.[55]

Situation in Australia

There is no exception in Australian copyright law for text or data mining within the Copyright Act 1968. The Australian Law Reform Commission has noted that it is unlikely that the "research and study" fair dealing exception would extend to cover such a topic either, given it would be beyond the "reasonable portion" requirement.[56]

Implications

Until recently, websites most often used text-based searches, which only found documents containing specific user-defined words or phrases. Now, through use of a semantic web, text mining can find content based on meaning and context (rather than just by a specific word). Additionally, text mining software can be used to build large dossiers of information about specific people and events. For example, large datasets based on data extracted from news reports can be built to facilitate social networks analysis or counter-intelligence. In effect, the text mining software may act in a capacity similar to an intelligence analyst or research librarian, albeit with a more limited scope of analysis. Text mining is also used in some email spam filters as a way of determining the characteristics of messages that are likely to be advertisements or other unwanted material. Text mining plays an important role in determining financial market sentiment.

See also

References

Sources

External links

Notes and References

  1. Web site: Marti Hearst: What is Text Mining?.
  2. Hotho, A., Nürnberger, A. and Paaß, G. (2005). "A brief survey of text mining". In Ldv Forum, Vol. 20(1), p. 19-62
  3. Feldman, R. and Sanger, J. (2007). The text mining handbook. Cambridge University Press. New York
  4. http://intelligent-enterprise.informationweek.com/blog/archives/2007/02/defining_text_a.html
  5. Web site: KDD-2000 Workshop on Text Mining – Call for Papers . Cs.cmu.edu . 2015-02-23.
  6. http://www.ir.iit.edu/cikm2004/tutorials.html#T2
  7. Book: 10.3115/991813.991833 . Proceedings of the 9th conference on Computational linguistics . 1982 . Hobbs . Jerry R. . Walker . Donald E. . Amsler . Robert A. . 1 . 127–32. Natural language access to structured text . 6433117 .
  8. Web site: Unstructured Data and the 80 Percent Rule . Breakthrough Analysis . 2015-02-23. August 2008 .
  9. Exploração de informações contextuais para enriquecimento semântico em representações de textos. Universidade de São Paulo. 2018-11-14. São Carlos. Mestrado em Ciências de Computação e Matemática Computacional. 10.11606/d.55.2019.tde-03012019-103253. pt. João. Antunes. free.
  10. Moro. Andrea. Raganato. Alessandro. Navigli. Roberto. December 2014. Entity Linking meets Word Sense Disambiguation: a Unified Approach. Transactions of the Association for Computational Linguistics. 2. 231–244. 10.1162/tacl_a_00179. 2307-387X. free.
  11. Chang. Wui Lee. Tay. Kai Meng. Lim. Chee Peng. 2017-02-06. A New Evolving Tree-Based Model with Local Re-learning for Document Clustering and Visualization. Neural Processing Letters. 46. 2. 379–409. 10.1007/s11063-017-9597-3. 9100902. 1370-4621.
  12. Benchimol . Jonathan . Kazinnik . Sophia . Saadon . Yossi . 2022 . Text mining methodologies with R: An application to central bank texts . Machine Learning with Applications . 8 . 100286 . 10.1016/j.mlwa.2022.100286. 243798160 . free .
  13. Book: 10.1037/11383-011 . Handbook of multimethod measurement in psychology . 2006 . Mehl . Matthias R. . 978-1-59147-318-3 . 141. Quantitative Text Analysis .
  14. Pang. Bo. Lee. Lillian. Lillian Lee (computer scientist). 2008. Opinion Mining and Sentiment Analysis. Foundations and Trends in Information Retrieval. 2. 1–2. 1–135. 10.1561/1500000011. 1554-0669. 10.1.1.147.2755. 207178694 .
  15. Paltoglou. Georgios. Thelwall. Mike. 2012-09-01. Twitter, MySpace, Digg: Unsupervised Sentiment Analysis in Social Media. ACM Transactions on Intelligent Systems and Technology . 3. 4. 66. 10.1145/2337542.2337551. 16600444. 2157-6904.
  16. Web site: Sentiment Analysis in Twitter < SemEval-2017 Task 4. alt.qcri.org. 2018-10-02.
  17. Book: 10.1007/978-3-540-88181-0_7 . Proceedings of the International Workshop on Computational Intelligence in Security for Information Systems CISIS'08 . Advances in Soft Computing . 2009 . Zanasi . Alessandro . 978-3-540-88180-3 . 53 . 53. Virtual Weapons for Real Wars: Text Mining for National Security .
  18. 10.1371/journal.pcbi.0040020 . Getting Started in Text Mining . 2008 . Cohen . K. Bretonnel . Hunter . Lawrence . PLOS Computational Biology . 4 . e20 . 18225946 . 1 . 2217579. 2008PLSCB...4...20C . free .
  19. 10.1371/journal.pcbi.1004630 . Text mining for protein docking. PLOS Computational Biology. 11. 12. e1004630. 26650466 . 4674139. 2015. Badal. V. D. Kundrotas. P. J. Vakser. I. A. 2015PLSCB..11E4630B . free .
  20. Papanikolaou. Nikolas. Pavlopoulos. Georgios A.. Theodosiou. Theodosios. Iliopoulos. Ioannis. 2015. Protein–protein interaction predictions using text mining methods. Methods. 74. 47–53. 10.1016/j.ymeth.2014.10.026. 25448298. 1046-2023.
  21. Szklarczyk. Damian. Morris. John H. Cook. Helen. Kuhn. Michael. Wyder. Stefan. Simonovic. Milan. Santos. Alberto. Doncheva. Nadezhda T. Roth. Alexander. 2016-10-18. The STRING database in 2017: quality-controlled protein–protein association networks, made broadly accessible. Nucleic Acids Research. 45. D1. D362–D368. 10.1093/nar/gkw937. 0305-1048. 5210637. 27924014.
  22. Liem. David A.. Murali. Sanjana. Sigdel. Dibakar. Shi. Yu. Wang. Xuan. Shen. Jiaming. Choi. Howard. Caufield. John H.. Wang. Wei. Ping. Peipei. Han. Jiawei. 2018-10-01. Phrase mining of textual data to analyze extracellular matrix protein patterns across cardiovascular disease. American Journal of Physiology. Heart and Circulatory Physiology. 315. 4. H910–H924. 10.1152/ajpheart.00175.2018. 1522-1539. 29775406. 6230912.
  23. Van Le . D . Montgomery . J . Kirkby . KC . Scanlan . J . Risk Prediction using Natural Language Processing of Electronic Mental Health Records in an Inpatient Forensic Psychiatry Setting. . Journal of Biomedical Informatics . 86 . 49–58 . 10 August 2018 . 10.1016/j.jbi.2018.08.007 . 30118855. free .
  24. 10.1038/ng0501-21 . A literature network of human genes for high-throughput analysis of gene expression . 2001 . Jenssen . Tor-Kristian . Lægreid . Astrid . Komorowski . Jan . Hovig . Eivind . Nature Genetics . 28 . 21–8 . 11326270 . 1. 8889284 .
  25. 10.1038/ng0501-9 . Linking microarray data to the literature . 2001 . Masys . Daniel R. . Nature Genetics . 28 . 9–10 . 11326264 . 1. 52848745 .
  26. Renganathan. Vinaitheerthan. 2017. Text Mining in Biomedical Domain with Emphasis on Document Clustering. Healthcare Informatics Research. 23. 3. 141–146. 10.4258/hir.2017.23.3.141. 28875048. 5572517. 2093-3681.
  27. http://yatsko.zohosites.com/texor-a-chat-mining-program.html
  28. Web site: Text Analytics . Medallia . 2015-02-23.
  29. 10.1016/j.im.2008.01.005 . Integrating the voice of customers through call center emails into a decision support system for churn prediction . 2008 . Coussement . Kristof . Van Den Poel . Dirk . Information & Management . 45 . 3 . 164–74. 10.1.1.113.3238 .
  30. 10.1016/j.dss.2007.10.010 . Improving customer complaint management by automatic email classification using linguistic style features as predictors . 2008 . Coussement . Kristof . Van Den Poel . Dirk . Decision Support Systems . 44 . 4 . 870–82.
  31. Assessing the usefulness of online message board mining in automatic stock prediction systems . Ramiro H. Gálvez . Agustín Gravano . Journal of Computational Science . 19 . 1877–7503 . 2017 . 10.1016/j.jocs.2017.01.001. 11336/60065 . free .
  32. Book: 10.3115/1118693.1118704 . Proceedings of the ACL-02 conference on Empirical methods in natural language processing . 2002 . Pang . Bo . Lee . Lillian . Vaithyanathan . Shivakumar . 10 . 79–86. Thumbs up? . 7105713 .
  33. Alessandro Valitutti . Carlo Strapparava . Oliviero Stock . Developing Affective Lexical Resources . PsychNology Journal . 2005 . 1 . 61–83 . 2.
  34. Erik Cambria . Robert Speer . Catherine Havasi . Amir Hussain . SenticNet: a Publicly Available Semantic Resource for Opinion Mining . Proceedings of AAAI CSK . 2010 . 14–18 .
  35. 10.1109/T-AFFC.2010.1 . Affect Detection: An Interdisciplinary Review of Models, Methods, and Their Applications . 2010 . Calvo . Rafael A . d'Mello . Sidney . IEEE Transactions on Affective Computing . 1 . 1 . 18–37. 753606 .
  36. Web site: The University of Manchester . Manchester.ac.uk . 2015-02-23.
  37. Web site: Tsujii Laboratory . Tsujii.is.s.u-tokyo.ac.jp . 2015-02-23 . 2012-03-07 . https://web.archive.org/web/20120307231425/http://www-tsujii.is.s.u-tokyo.ac.jp/index.html . dead .
  38. Web site: The University of Tokyo . UTokyo . 2015-02-23.
  39. Book: Shen. Jiaming. Xiao. Jinfeng. He. Xinwei. Shang. Jingbo. Sinha. Saurabh. Han. Jiawei. 2018-06-27. Entity Set Search of Scientific Literature: An Unsupervised Ranking Approach. ACM. 565–574. 10.1145/3209978.3210055. 978-1-4503-5657-2. 13748283.
  40. Walter. Lothar. Radauer. Alfred. Moehrle. Martin G.. 2017-02-06. The beauty of brimstone butterfly: novelty of patents identified by near environment analysis based on text mining. Scientometrics. 111. 1. 103–115. 10.1007/s11192-017-2267-4. 11174676. 0138-9130.
  41. Roll. Uri. Correia. Ricardo A.. Berger-Tal. Oded. 2018-03-10. Using machine learning to disentangle homonyms in large text corpora. Conservation Biology. 32. 3. 716–724. 10.1111/cobi.13044. 29086438. 3783779. 0888-8892.
  42. Network analysis of narrative content in large corpora; S Sudhahar, G De Fazio, R Franzosi, N Cristianini; Natural Language Engineering, 1-32, 2013
  43. Quantitative Narrative Analysis; Roberto Franzosi; Emory University © 2010
  44. Lansdall-Welfare. Thomas. Sudhahar. Saatviga. Thompson. James. Lewis. Justin. Team. FindMyPast Newspaper. Cristianini. Nello. 2017-01-09. Content analysis of 150 years of British periodicals. Proceedings of the National Academy of Sciences. 114. 4. E457–E465. 10.1073/pnas.1606380114. 0027-8424. 28069962. 5278459. 2017PNAS..114E.457L . free.
  45. I. Flaounas, M. Turchi, O. Ali, N. Fyson, T. De Bie, N. Mosdell, J. Lewis, N. Cristianini, The Structure of EU Mediasphere, PLoS ONE, Vol. 5(12), pp. e14243, 2010.
  46. Nowcasting Events from the Social Web with Statistical LearningV Lampos, N Cristianini; ACM Transactions on Intelligent Systems and Technology (TIST) 3 (4), 72
  47. NOAM: news outlets analysis and monitoring system; I Flaounas, O Ali, M Turchi, T Snowsill, F Nicart, T De Bie, N Cristianini Proc. of the 2011 ACM SIGMOD international conference on Management of data
  48. Automatic discovery of patterns in media content, N Cristianini, Combinatorial Pattern Matching, 2-13, 2011
  49. I. Flaounas, O. Ali, T. Lansdall-Welfare, T. De Bie, N. Mosdell, J. Lewis, N. Cristianini, RESEARCH METHODS IN THE AGE OF DIGITAL JOURNALISM, Digital Journalism, Routledge, 2012
  50. Circadian Mood Variations in Twitter Content; Fabon Dzogang, Stafford Lightman, Nello Cristianini. Brain and Neuroscience Advances, 1, 2398212817744501.
  51. Effects of the Recession on Public Mood in the UK; T Lansdall-Welfare, V Lampos, N Cristianini; Mining Social Network Dynamics (MSND) session on Social Media Applications
  52. http://www.out-law.com/en/articles/2014/june/researchers-given-data-mining-right-under-new-uk-copyright-laws/ Researchers given data mining right under new UK copyright laws
  53. Web site: Licences for Europe – Structured Stakeholder Dialogue 2013. European Commission. 14 November 2014.
  54. Web site: Text and Data Mining:Its importance and the need for change in Europe. Association of European Research Libraries. 14 November 2014. 2013-04-25. 2014-11-29. https://web.archive.org/web/20141129021244/http://libereurope.eu/news/text-and-data-mining-its-importance-and-the-need-for-change-in-europe/. dead.
  55. News: Judge grants summary judgment in favor of Google Books — a fair use victory. Lexology. 19 November 2013. Antonelli Law Ltd. 14 November 2014.
  56. Web site: Text and data mining. Australian Law Reform Commission. 4 June 2013. 10 February 2023.