

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!


Tokenization - Answer-______________ may be defined as the process of splitting the text into smaller parts called tokens, and is considered a crucial step in NLP. sent_tokenize(text) - Answer-Tokenization of text into sentences with nltk word_tokenize(text) - Answer-Tokenization of sentences into words with nltk Normalization - Answer-In order to carry out processing on natural language text, we need to perform ______________ that mainly involves eliminating punctuation, converting the entire text into lowercase or uppercase, converting numbers into words, expanding abbreviations, canonicalization of text, and so on. normalization - Answer-The task of converting text into uppercase or lowercase falls under the category of ___________. Stop words - Answer-_______________ are words that need to be filtered out during the task of information retrieval or other natural language tasks, as these words do not contribute much to the overall meaning of the sentence. Zipf's law - Answer-________ states that the frequency of a token in a text is directly proportional to its rank or position in the sorted list. This law describes how tokens are distributed in languages: some tokens occur very frequently, some occur with intermediate frequency, and some tokens rarely occur. Levenshtein - Answer-Edit distance or the _________ edit distance between two strings is used to compute the number of characters that can be inserted, substituted, or deleted in order to make two strings equal. Jaccard - Answer-______'s coefficient, or Tanimoto coefficient, may be defined as a measure of the overlap of two sets, X and Y. Smith Waterman - Answer-The __________ distance is similar to edit distance. This similarity metric was developed in order to detect the optical alignments between related protein sequences and DNA.
Collocations - Answer-________ may be defined as the collection of two or more tokens that tend to exist together. Unigram - Answer-______ represents a single token. Bigram - Answer-_______ refers to a pair of tokens Multinomial logistic regression - Answer-MLE, also referred to as __________ or a conditional exponential classifier, is an essential task in the field of NLP. MLE - Answer-_____ is used to generate a frequency distribution that contains the probability distribution for a given occurrence in a text. Entropy - Answer-Generally, _________ refers to disorder or uncertainty. If these values are equally probable, the ______ is equal to this number. Maximum Entropy - Answer-The principle of _____________ states that the probability distribution which best represents the current state of knowledge is the one with largest entropy, in the context of precisely stated prior data (such as a proposition that expresses testable information). Derived - Answer-There are basically two kinds of probability distributions: ________ Probability Distribution and Analytic Probability Distribution. Analytic - Answer-There are basically two kinds of probability distributions: Derived Probability Distribution and ________ Probability Distribution. Markov model - Answer-In probability theory, a _________ is a stochastic model used to model randomly changing systems. It is assumed that future states depend only on the current state, not on the events that occurred before it. Hidden Markov Model - Answer-____________ (HMM) is a statistical Markov model in which the system being modeled is assumed to be a Markov process with unobserved (i.e. hidden) states. Witten Bell - Answer-___________ is the smoothing algorithm that was designed to deal with unknown words having zero probability. Perplexity - Answer-____________defines how a probability model or probability distribution can be useful to predict a text. morpheme - Answer-A___________ is the basic unit of language carrying meaning. There are two types of __________: stems and affixes (suffixes, prefixes, infixes, and circumfixes).