









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










Assoc. Prof. Dr. Nurulkamal Masseran Department of Mathematical Sciences Universiti Kebangsaan Malaysia
Text data is a type of unstructured data. Computer need to interpret the unstructured data to understand human languages. Thus, some information can extracted. This procedure known as a natural language processing (NLP). Text mining uses NLP techniques to transform unstructured data into a structured format for the purpose of identifying meaningful patterns and extracting information.
A plain text data need to be converted to a corpus format before a data mining analysis can be done. A corpus is as a collection of written texts. Based on corpus format, a data mining analysis, hypothesis testing, checking occurrences or validating linguistic rules can be done on a text data.
Commonly, unstructured data does not organize in a proper way. Thus, it is difficult to analyze unstructured data directly from its original form. Data cleaning on text data is very important task of pre-processing prior to text mining. Some important steps of data cleaning on text data: i) Remove special characters from the text, where a symbol such as; /, @ and | will be replace by a space. ii) Convert the text to lower case. iii) Remove numbers iv) Remove the stopwords in text data. Example: Stopwords in English are “the, is, at, on”. There is no single universal list of stopwords used by all NLP tools. v) Remove punctuation. vi) Eliminate extra unnecessary spaces in the text.
Example: Consider the sentence, “I Love my cat”. In tokenization, unique integer value will be assign to each unique word in that sentence. Such that, 1 to “I”, 2 to “Love”, 3 to “my” and 4 to “cat”. If we have another sentence: “I Love my car”, then, the words “I Love my”, already have numbers 001 002 003. Thus, only a new word will be assign a new unique integer value. Here, we have integer 005 is assign for the word “car”. The tokens of these two sentences are: 001 002 003 004 , 001 002 003 005 Using tokenization, similarity between the sentences can be evaluated. Intrinsically, a computer does not understand text or language in a human sense. By tokenization, computer able to transform text from a human- understandable form to a statistical pattern that can be mapped by a data mining technique.
Aggarwal, C. C., Zhai, C. ( 2012 ). Mining Text Data. Springer. Kwartler, T. ( 2017 ). Text Mining in Practice with R .Wiley. Lamba, M., Madhusudhan, M. ( 2022 ). Text Mining for Information Professionals: An Uncharted Territory. Springer. Silge, J., Robinson, D. ( 2017 ). Text Mining with R: : A Tidy Approach. O'Reilly Media, Inc. Zhai, C., Massung, S. ( 2016 ). Text Data Management and Analysis: A Practical Introduction to Information Retrieval and Text Mining. ACM Books. Žižka, J., Darena, F., Svoboda, A. ( 2021 ). Text Mining with Machine Learning. CRC Press. Zong, C., Xia, R., Zhang, J. ( 2021 ). Text Data Mining. Springer.