
 Usage: semkit read [IN] relate-phrases [OPTIONS]

 The class of each phrase at the other phrases of the table, the phrase it belongs to, its group
 and the reason.

 A phrase is its words as lemmas; a preposition, a conjunction or a particle is dropped, except the
 question words (the bundled list @meaning/question) and the words to keep. A word with digits
 stays as it is. A unit is a word, or a run of words that a link source knows as one; two units are
 linked when a link source links them. The class: same (the same lemmas in any order, at an earlier
 row), variation (every unit pairs one to one with a unit of an earlier row, equal or linked, at
 least one pair linked), refinement (every unit of another phrase, of any row, pairs with a unit or
 a word of this one, and this one has units left over) or other. A phrase takes the best relation:
 same, then variation, then refinement; for a refinement the closest base (the most units), then
 the earliest row. The columns: class; of (the phrase it is same, a variation or a refinement of;
 empty for other); group (the first row among the phrases whose chains of `of` end in the same
 phrase); reason (lemmas; the links of the units; +word for each unit left over; for other the
 phrases that are its refinements, «base of: …», or the units unlinked to the nearest phrase,
 «unlinked: …»). An empty cell is other, with an empty group.
 to: compare every phrase only with this one; of is this phrase or empty.
 keep: more words a phrase never drops, as the question words.

 Example: semkit read --text "разработка сайтов" --text "сайт разработка" --text "разработка сайтов
 под ключ" relate-phrases write -
 -> разработка сайтов, other, , разработка сайтов, base of: сайт разработка | разработка сайтов под
 ключ; сайт разработка, same, разработка сайтов, разработка сайтов, lemmas; разработка сайтов под
 ключ, refinement, разработка сайтов, разработка сайтов, +ключ
 Example: semkit read --text "угловой диван" --text "кресло" relate-phrases --to "диван" write -
 -> угловой диван, refinement, диван, угловой диван, +угловой; кресло, other, , кресло, unlinked:
 кресло | диван

 synonyms: a file of the groups of synonyms of the topic, read like `read` does; the items of a
 group are linked to each other (no chain across groups) and are compared by lemmas. Two shapes: a
 column synonyms, one group per row, the items split by | and an item may be several words
 (стиральная машина | стиралка | стиральная машинка); or the columns word and synonyms of `dupes
 --synonyms`, a word and its synonyms split by spaces. A group of one item is ignored. Example:
 --synonyms groups.csv, a file with the column synonyms and the row ремонт | починка | починить.

 The step adds the columns class, of, group and reason right after the working column; the rows
 stay. The caller gives the phrases in its order (by frequency): the first phrase of a group is the
 one kept.

╭─ Options ────────────────────────────────────────────────────────────────────────────────────────╮
│ --to              <str>  compare every phrase only with this one; of is this phrase or empty.    │
│ --keep            <str>  more words a phrase never drops, as the question words. Items: a comma  │
│                          list 'a,b', @FILE (one item per line, or the first column of a table)   │
│                          or @NAME of a list.                                                     │
│ --synonyms        <str>  a file of the groups of synonyms of the topic, read like `read` does;   │
│                          the items of a group are linked to each other (no chain across groups)  │
│                          and are compared by lemmas. Two shapes: a column synonyms, one group    │
│                          per row, the items split by | and an item may be several words          │
│                          (стиральная машина | стиралка | стиральная машинка); or the columns     │
│                          word and synonyms of `dupes --synonyms`, a word and its synonyms split  │
│                          by spaces. A group of one item is ignored. Example: --synonyms          │
│                          groups.csv, a file with the column synonyms and the row ремонт |        │
│                          починка | починить.                                                     │
│ --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.


