Lecture1 Flashcards

1
Q

What is NLP

A

NLP is about manipulating text, cleaning text, normalizing text, and analyzing it in a way that allow you to derive meaning without suffering time and speed.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

C:\Users\hashem\AppData\Roaming\nltk_data

A

Where the book is downloaded

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

concordance method

A

Gives you alll the places where a word was used

Different context a word is used with all it is places

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Common_contexts

A

What context two words share

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

similar

A

Gives you words that appear in contexts that are similar

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Collocation: pair of words that occur together everytime

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Dis[persion plot

A

tells you where the word occur in your text and how many times

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Vocabulary plot

A

Show you the count of words

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

count to count the words

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Length to find the length of the text if u want

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Stop words

A

Words that occur at high frquency like: the

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

freqdist(text)

A

Find the frequency of each word in the text

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

To find if the text is rich we use function set

A

How many distinct word the text contan

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Lexical richness

A

size of text over Size of distinct vocab

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

We use the list to view text as sequence

A

True

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Corpus

A

Collection of text files

17
Q

raw

A

returns the text as is (like the new line is \n)

18
Q

field()

A

Retuen the text file name

18
Q

field()

A

Retuen the text file name

19
Q

print

A

print it in a neat way unlike raw

20
Q

Stop word is a word when removed fom the text it will not afect the meaning in any way (We still get the semantics)

21
Q

not is apllication dependent as stop word

22
Q

limitising : removing ing from each word