1. ذهب محمد و نادر الى المدرسة 2. ثم قابلا أصدقائهما ولعبوا فرحين في المدرسة Consider…
Jump to turn (15)
- 1ذهب محمد و نادر الى المدرسة ثم قابلا أصدقائهما ولعبوا فرحين في المدرسة Consider
- 2do the tf-idf to both documents together
- 3in the idf the number of documents is just 2
- 4the rule is log (N/df) so what is the n and df of each one
- 5what ? log (2/1) = 0.3 the only one that is right is المدرسة
- 6how is log(2/1) = 0.6931 ? that is wrong
- 7so correct your idf
- 8no no it is supposed to be 0.3 not 0.6931
- 9and correct your tf because you are supposed to get the tf for each document
- 10now calculate the right tf-idf
- 11the tf-idf is supposed to be tfidf so how is 0.25 0.3 =0.1733 ? that is wrong it
- 12in document 2 the tf idf is wrong calculate the tfidf again while showing me tf
- 13Preprocessing text in NLP includes .............. .
- 14............................ Is an application of Natural Language Processing.
- 15If a clipping window with lower left corner (-1/3, -1/3) and upper right corner
- User
- ذهب محمد و نادر الى المدرسة
ثم قابلا أصدقائهما ولعبوا فرحين في المدرسة
Consider each statement as a separate document. Show the output of each document after:
- Normalization and Stop Words Removal.
- POS Tagging (Show only tags not the tree) and Named Entity Recognition.
- Tokenization and Lemmatization.
- Compute the Tf-Idf for each document/word, showing the following tables: a. Bag of Words and Term Frequency Tables. b. Inverse Document Frequency Table. c. TF-IDF Table.
- Assistant