Changes between Version 36 and Version 37 of private/NlpInPracticeCourse/OpinionSentiment
- Timestamp:
- Oct 8, 2020, 10:17:06 AM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
private/NlpInPracticeCourse/OpinionSentiment
v36 v37 24 24 === Technical Requirements === 25 25 26 The task will proceed using Python notebook run in web browser in the [https://colab.research.google.com/ Google Colaboratory] environment 27 with the MU G-Suite disk access. 28 29 In case of running the codes in a local environment, the requirements are 30 Python 3, jupyter notebook, modules NLTK, scipy, numpy, pandas, and sklearn. 26 31 27 32 … … 31 36 We use the Liu's Opinion Lexion. For Czech SA, we use the automatically translated version. Next, we try to compensate drawbacks of the lexicon by computing word vectors in a simple way. 32 37 33 Requirements: Google Colab environment: https://colab.research.google.com/drive/1j9f28cnFrcRmWKhylP6kXhMwtksnhyCo?usp=sharing 38 Access the [https://colab.research.google.com/drive/1j9f28cnFrcRmWKhylP6kXhMwtksnhyCo Python notebook in the Google Colab environment]. Do not forget to save your work if you want to see your changes later, leaving the browser will throw away all changes! 34 39 35 40 OR 36 41 37 (local version) Python 3, jupyter notebook, modules NLTK, scipy, numpy, pandas, sklearn42 (local version) 38 43 39 In case of Google Colab don't forget to save your work if you want to see your changes later!40 44 41 Files: [raw-attachment:cestina20.csv cestina20.csv], [raw-attachment:cestina20_annotation.csv cestina20_annotation.csv], 42 [raw-attachment:urban_dictionary.csv urban_dictionary.csv] 43 [raw-attachment:Word_Vectors_and_Sentiment.ipynb Word_Vectors_and_Sentiment.ipynb], [raw-attachment:negative-words-en.txt negative-words-en.txt], [raw-attachment:negative-words-cs.txt negative-words-cs.txt], [raw-attachment:positive-words-en.txt positive-words-en.txt], [raw-attachment:positive-words-cs.txt positive-words-cs.txt] 45 Files: [raw-attachment:Word_Vectors_and_Sentiment.ipynb Word_Vectors_and_Sentiment.ipynb], [raw-attachment:cestina20.csv cestina20.csv], [raw-attachment:cestina20_annotation.csv cestina20_annotation.csv], 46 [raw-attachment:urban_dictionary.csv urban_dictionary.csv], [raw-attachment:negative-words-en.txt negative-words-en.txt], [raw-attachment:negative-words-cs.txt negative-words-cs.txt], [raw-attachment:positive-words-en.txt positive-words-en.txt], [raw-attachment:positive-words-cs.txt positive-words-cs.txt] 44 47 45 48 1. Create `<YOUR_FILE>`, a text file named ia161-UCO-01.txt where UCO is your university ID.