Changes between Version 33 and Version 34 of private/NlpInPracticeCourse/Stylometry
- Timestamp:
- Oct 4, 2022, 6:50:06 PM (3 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
private/NlpInPracticeCourse/Stylometry
v33 v34 50 50 }}} 51 51 52 The default dataset is for the Czech language, this may be changed by editing `run.sh` (use e.g. `vi` or `nano` as the editor): 53 {{{ 54 nano run.sh 55 }}} 56 For English, unncomment the line with `export DATA_LANGUAGE='en'`: 57 {{{ 58 #export DATA_LANGUAGE='cs' 59 export DATA_LANGUAGE='en' 60 }}} 61 52 62 `run.sh` can have two optional parameters: 53 63 {{{ … … 56 66 The default values, i.e. running `./run.sh` without parameters, are `10` cycles and `no documents` (`./run.sh 10 0`). With longer feature testing `./run.sh 100` could provide better results (but not necessarily). 57 67 58 Example with document output (second parameter `>0`):68 Example with document output (second parameter greater than `0`): 59 69 {{{ 60 70 [xrygl@asteria04:~/temp/sir-assignment]$ ./run.sh 10 1