In the previous post, we discussed Word Boundaries. What do you have to consider while using NLP Language models for your business text data? In this post, we discuss “Words Representation” for your “Business Text Data”.
When building an NLP language model for your business data, it is important to select a method to represent the words. Several methods exist, including word embeddings, symbols, and integers.
Representing Words In Your Business Text Data
You can represent the words in your business text data in the following methods:
- Frequency of Words – take each word OR N-gram of words and find out how frequent each word is
- Word Boundaries – in the previous post we discussed defining word boundaries. Apply those concepts to your business text data. Word boundary concepts are should you consider punctuation, unknown words from your business text perspective, misspelled words from your business text perspective, and more
- One-Hot Representation of words – more on this understanding in upcoming blog posts
- Dense Arrays – more on this understanding in upcoming blog posts
In addition to the above, there are many pre-trained language models that use Wiki, Stackoverflow, popular books, and more. Evaluate the pre-trained models based on their training dataset and consider those pre-trained models that are best suited for your business text data.
What do you have to d now?
From the above section, having a basic understanding of how to represent words in your business text data, you can do this from your business context perspective:
Related Topics:
- Natural Language Processing Primer
- NLP Learnings 02 – After Primer – NLP Models & Evaluating NLP Models
- NLP Learnings 03 – What is Linguistic in NLP and Linguistic Categories or Linguistic Levels
- NLP Learnings 04 – Sentence Linguistic Analysis – Words As First Step
- NLP Learnings 05 – Sentence Linguistic Analysis – Pragmatics Analysis
- NLP Learnings 06 – What can we do with A Sentence in NLP Tasks
- NLP Learnings 07 – Introducing NLP Language Models
- NLP Learnings 08 – Language Models – Probability Types
- NLP Learnings 09 – Language Models – Measuring Text Based On Probability
- NLP Learnings 10 – Language Models – Defining Word Boundaries
- NLP Learnings 11 – Language Models – Your Business Text Data and Their Words Representation
- NLP Learnings 12 – Language Models – Regularization Techniques And Your Business Text Data
- NLP Learnings 13 – Language Models – Smoothing Regularization Techniques And Your Business Text Data
- NLP Learnings 14 – Language Models – NLP Key Terms and Concepts
- NLP Learnings 15 – Language Models – Classifiers Introduction
- NLP Learnings 16 – Language Models – Classifiers – What are Probabilistic Classifiers
- NLP Learnings 17 – Language Models – Classifiers – Simple Classifiers Introduction
- NLP Learnings 18 – Language Models – Classifiers – Simple Classifiers – Linear Probabilistic Classifier Introduction
- NLP Learnings 19 – Language Models – Classifiers – Evaluating Classifiers – Precision Recall F-Score Confusion Matrix
- NLP Learnings 20 – Language Models – Classifiers – Represent Words In A Document – Choosing and Representing Features In The Right Way
- NLP Learnings 21 – Language Models – Word Embeddings
- NLP Learnings 22 – Language Models – Sentence and Document Embeddings
- NLP Learnings 23 – Language Models – Sentence and Document Embeddings – Which one to consider