
 Usage: semkit read [IN] extract-cells [OPTIONS] [KIND]

 Whole cells that are found or not.

 remove clears a found cell (with "empty", it drops the rows); extract keeps the cell, or an empty
 cell if not found.

 kind: "contains", "starts", "ends" (with items: text parts, case and ё do not count; or with
 prepositions: the first, the last or any word is a bundled preposition, as written, «для,» is
 none); "regex" (with pattern); "empty" (no characters at all: a cell of spaces is not empty); by
 occurrence among the cells, in any case and ё as е: "unique" (once), "repeated" (more than once),
 "first", "last" occurrence. Empty cells are never repeats of each other.
 items: the text parts for "contains", "starts" and "ends".
 pattern: the regular expression for "regex".
 prepositions: for "contains", "starts" and "ends", look for a bundled preposition instead of
 items.

 Example: semkit read --text "купить диван" --text "кресло" extract-cells contains --items диван
 write -
 -> купить диван;

 extract-cells keeps only what the matcher finds in the working column; an empty cell where it
 finds nothing.

╭─ Arguments ──────────────────────────────────────────────────────────────────────────────────────╮
│   KIND      <contains|starts|ends|regex|empty|unique|  "contains", "starts", "ends" (with items: │
│             repeated|first|last>                       text parts, case and ё do not count; or   │
│                                                        with prepositions: the first, the last or │
│                                                        any word is a bundled preposition, as     │
│                                                        written, «для,» is none); "regex" (with   │
│                                                        pattern); "empty" (no characters at all:  │
│                                                        a cell of spaces is not empty); by        │
│                                                        occurrence among the cells, in any case   │
│                                                        and ё as е: "unique" (once), "repeated"   │
│                                                        (more than once), "first", "last"         │
│                                                        occurrence. Empty cells are never repeats │
│                                                        of each other. The same as --kind KIND.   │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────╮
│ --kind                KIND   "contains", "starts", "ends" (with items: text parts, case and ё do │
│                              not count; or with prepositions: the first, the last or any word is │
│                              a bundled preposition, as written, «для,» is none); "regex" (with   │
│                              pattern); "empty" (no characters at all: a cell of spaces is not    │
│                              empty); by occurrence among the cells, in any case and ё as е:      │
│                              "unique" (once), "repeated" (more than once), "first", "last"       │
│                              occurrence. Empty cells are never repeats of each other.            │
│ --items               <str>  the text parts for "contains", "starts" and "ends". Items: a comma  │
│                              list 'a,b', @FILE (one item per line, or the first column of a      │
│                              table) or @NAME of a list.                                          │
│ --pattern             <str>  the regular expression for "regex".                                 │
│ --prepositions               for "contains", "starts" and "ends", look for a bundled preposition │
│                              instead of items.                                                   │
│ --as                  NAME   Write the result to a new column NAME and keep the working column   │
│                              as it is.                                                           │
│ --help                       Show this message and exit.                                         │
╰──────────────────────────────────────────────────────────────────────────────────────────────────╯

 Lists for @NAME: @combine/kiev-region-towns, @combine/leningrad-region-villages,
 @combine/moscow-hotels, @combine/moscow-metro, @combine/moscow-region-villages,
 @combine/realty-object, @combine/realty-service, @combine/review, @combine/russia-cities-100k,
 @combine/russia-cities-250k, @combine/russia-cities-500k, @combine/shop, @combine/spb-hotels,
 @combine/spb-metro, @combine/tourism, @combine/tourism/austria, @combine/tourism/baltic,
 @combine/tourism/benelux, @combine/tourism/bulgaria, @combine/tourism/canada,
 @combine/tourism/caribbean, @combine/tourism/china, @combine/tourism/croatia,
 @combine/tourism/cyprus, @combine/tourism/czech, @combine/tourism/egypt, @combine/tourism/france,
 @combine/tourism/germany, @combine/tourism/greece, @combine/tourism/hungary,
 @combine/tourism/india, @combine/tourism/indonesia, @combine/tourism/israel,
 @combine/tourism/italy, @combine/tourism/malaysia, @combine/tourism/mexico,
 @combine/tourism/montenegro, @combine/tourism/poland, @combine/tourism/portugal,
 @combine/tourism/scandinavia, @combine/tourism/spain, @combine/tourism/switzerland,
 @combine/tourism/thailand, @combine/tourism/turkey, @combine/tourism/uae, @combine/tourism/uk,
 @combine/tourism/usa, @combine/ukraine-cities-100k, @combine/ukraine-cities-250k, @markers/DIY,
 @markers/MO, @markers/cars, @markers/citiesRu, @markers/color, @markers/districts, @markers/edu,
 @markers/fun, @markers/game, @markers/geo, @markers/material, @markers/mosmetro, @markers/names,
 @markers/origin, @markers/questions, @markers/rent, @markers/reviews, @markers/sale,
 @meaning/neutral, @meaning/question, @minus/abusive, @minus/adult-hard, @minus/adult-soft,
 @minus/belarus-cities, @minus/cheap, @minus/computer, @minus/countries, @minus/ex-ussr-cities,
 @minus/free, @minus/handmade, @minus/kazakhstan-cities, @minus/moscow-region-cities,
 @minus/russia-cities, @minus/ukraine-cities, @minus/universal, @minus/world-cities,
 @stop/semtools, @stop/wordstat. Run 'semkit lists' for their sources and descriptions.


