I have a short and easy assignment in the NLP course here are the details for th
I have a short and easy assignment in the NLP course here are the details for the assignment :
I worked on some of these points but I am still struggling on other points
(Vector spaces)
1.1 Term-document matrix
Write code to a term-document matrix
1.2 Term-Context Matrix
Write code to a term_context_matrix function.1.3 Evaluating vector spaces
we will evaluate vector spaces by using cosain and rank_words
1.4 Weighting terms with tf-idf and PPMI
Tasks for section 1.4
Write code to_tf_idf_matrix and _ppmi_matrix.
Part 2
Build Term-Context Matrix and ppmi_matrix in another way to analyze the labels
Feel free to reach me to more details
