Changes between Version 38 and Version 39 of private/NlpInPracticeCourse/Stylometry


Ignore:
Timestamp:
Oct 10, 2024, 1:01:31 PM (9 months ago)
Author:
xsabol
Comment:

Add colab homework

Legend:

Unmodified
Added
Removed
Modified
  • private/NlpInPracticeCourse/Stylometry

    v38 v39  
    2525 1. Lukin, E., Roberts, J.C., Berdik, D. et al. Adjectives and adverbs as stylometric analysis parameters. Int J Digit Humanities (2023). [[https://link.springer.com/article/10.1007/s42803-023-00065-y | link]]
    2626
    27 == Practical Session ==
     27== Practical Session (For working in Google Colab) ==
     28
     29The task will proceed using Python notebook run in a web browser in the [https://colab.research.google.com/ Google Colaboratory] environment with the MU G-Suite disk access.
     30
     31In the case of running the codes in a local environment, the requirements are Python 3 and Jupyter Notebook.
     32
     33=== Stylometric Feature Extraction ===
     34
     35In this workshop, we will experiment with a feature extraction of style markers.
     36
     37Access the [https://colab.research.google.com/drive/1Z27N9R836UgPY1AZSiK4wWve7jB6ow-O?usp=sharing 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!
     38
     391. Follow the instructions present in the notebook
     402. Implement a feature extractor that improves the performance of existing system
     413. Download and submit your `assignment.py` and upload it to the homework vault
     42
     43== Practical Session (For working in terminal) ==
    2844
    2945{{{
     
    3551The goal will be to implement a small function to extract style markers from a text.
    3652
    37 1. go to `asteria04.fi.muni.cz` server:
    38 {{{
    39 ssh asteria04.fi.muni.cz
    40 }}}
    41 2. Download a  [[htdocs:bigdata/stylometry-assignment.zip|ZIP with python packages of the assignment]]
     531. Download a  [[htdocs:bigdata/stylometry-assignment.zip|ZIP with python packages of the assignment]]
    4254{{{
    4355wget https://nlp.fi.muni.cz/trac/research/chrome/site/bigdata/stylometry-assignment.zip
    4456}}}
    45 3. Unzip the downloaded file
     572. Unzip the downloaded file
    4658{{{
    4759unzip stylometry-assignment.zip
    4860}}}
    49 4. Go to the unziped folder
     613. Go to the unziped folder
    5062{{{
    5163cd sir-assignment
    5264}}}
    53 5. Test the prepared program that analyses data from on-line dating services to distinguish gender (masculine/feminine) by text style features
     654. Test the prepared program that analyses data from on-line dating services to distinguish gender (masculine/feminine) by text style features
    5466{{{
    5567./run.sh