lexc grep - langdoc/FRechdoc GitHub Wiki
While adding lemmas into lexicon it is useful to look into how similar entries are currently marked. For example, I was wondering how word помощник should look like.
cat src/morphology/stems/*lexc | grep " N_" | grep ник:
So we grep first all nouns, and from those everything that ends with -nik. This is a trivial example, because there is no need to mark anything into the entry besides stem and N_
, but in some cases it isn't so trivial. For example, with verb трачӧдчыны we need to know bit more:
cat src/morphology/stems/*lexc | grep " V_" | grep дчыны:
Here the entry is similar with довгӧдчыны:довгӧдч V_ЛЫДДЬЫНЫ ;
, but this would be difficult to know without comparing it to the existing entries.