
 Usage: semkit read [IN] remove-phrase-end [OPTIONS] [KIND]

 The words at the end of a phrase, cut until the last word is clean; remove only.

 kind: "prepositions" (prepositions and the other function words of the stopword list: «диван в и»
 → «диван») or "buy_markers" (the words of the bundled list «sale», whole phrases of it too: «диван
 купить недорого» → «диван»; a marker right after a preposition stays: «диван с доставкой купить» →
 «диван с доставкой»). Words compare in any case, ё as е, as written («для,» with its comma stays).
 A phrase of such words only becomes an empty cell.

 Example: semkit read --text "диван в и" remove-phrase-end prepositions write -
 -> диван
 Example: semkit read --text "диван купить недорого" --text "диван с доставкой купить"
 remove-phrase-end buy_markers write -
 -> диван; диван с доставкой

 remove-phrase-end removes what the matcher finds from the working column.

╭─ Arguments ──────────────────────────────────────────────────────────────────────────────────────╮
│   KIND      <prepositions|buy_markers>  "prepositions" (prepositions and the other function      │
│                                         words of the stopword list: «диван в и» → «диван») or    │
│                                         "buy_markers" (the words of the bundled list «sale»,     │
│                                         whole phrases of it too: «диван купить недорого» →       │
│                                         «диван»; a marker right after a preposition stays:       │
│                                         «диван с доставкой купить» → «диван с доставкой»). Words │
│                                         compare in any case, ё as е, as written («для,» with its │
│                                         comma stays). A phrase of such words only becomes an     │
│                                         empty cell. The same as --kind KIND.                     │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────╮
│ --kind        KIND  "prepositions" (prepositions and the other function words of the stopword    │
│                     list: «диван в и» → «диван») or "buy_markers" (the words of the bundled list │
│                     «sale», whole phrases of it too: «диван купить недорого» → «диван»; a marker │
│                     right after a preposition stays: «диван с доставкой купить» → «диван с       │
│                     доставкой»). Words compare in any case, ё as е, as written («для,» with its  │
│                     comma stays). A phrase of such words only becomes an empty cell.             │
│ --as          NAME  Write the result to a new column NAME and keep the working column as it is.  │
│ --help              Show this message and exit.                                                  │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯

