ambuda icon indicating copy to clipboard operation
ambuda copied to clipboard

Bad key from db_seed_all (shabdartha_kaustubha)

Open shreevatsa opened this issue 2 years ago • 1 comments

Probably not a big deal, but there are a lot of "bad key" error messages like this:

python -m ambuda.seed.dictionaries.shabdartha_kaustubha
Initializing database ...
Fetching data from GitHub ...
Adding items to database ...
  bad key: aGaGna-nASana
  bad key: aNgulimòwina
  bad key: atigurvI-guru
  bad key: aDivèttavyA
  bad key: aDo'kza
  bad key: aDo'kzaja
  bad key: aDòBakta
  bad key: aDyètavya
  bad key: avacikI (cI) zA
  bad key: avacUqa(la)
  bad key: avahe(la)lA
  bad key: avAk(c)
  bad key: ati + asu|atyastaH
  bad key: vi + ati + asu|vyatyastaH
  bad key: aDi + asu|aDyAsaH
…

Probably the dictionary is in a different format or something. It's probably ok to ignore these errors for now as everything works regardless.

shreevatsa avatar Aug 05 '22 05:08 shreevatsa

Yeah, these are just warnings. Feel free to send a PR to make the behavior here more obvious, or maybe flag guard the warnings with a --verbose.

akprasad avatar Aug 06 '22 23:08 akprasad