
 Usage: semkit read [IN] sentiment [OPTIONS] [DICTIONARY]

 The score of each phrase by the scored words it holds: their mean, min or max.

 what: "mean", "min" or "max" of the scores of the words. A phrase with no scored word gets an
 empty value.

 Example: semkit read --text "отличный диван" --text "плохой диван" --text "диван" sentiment
 dictionary.csv write -
 -> отличный диван, 5.0; плохой диван, -3.0; диван,

 dictionary: a file of two columns, a word and its score; the first row is the header, the file is
 read like `read` does.

 The step writes the scores to a new column <column>_sentiment.

╭─ Arguments ──────────────────────────────────────────────────────────────────────────────────────╮
│   DICTIONARY      <str>  a file of two columns, a word and its score; the first row is the       │
│                          header, the file is read like `read` does. The same as --dictionary     │
│                          DICTIONARY.                                                             │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────╮
│ --dictionary        DICTIONARY      a file of two columns, a word and its score; the first row   │
│                                     is the header, the file is read like `read` does.            │
│ --what              <mean|min|max>  "mean", "min" or "max" of the scores of the words. A phrase  │
│                                     with no scored word gets an empty value.                     │
│                                     [default: mean]                                              │
│ --as                NAME            Write the result to a new column NAME and keep the working   │
│                                     column as it is.                                             │
│ --help                              Show this message and exit.                                  │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯

