neocl / jamdict

Python 3 library for manipulating Jim Breen's JMdict, KanjiDic2, JMnedict and kanji-radical mappings
MIT License
130 stars 12 forks source link

Hide field(s) when not available #2

Closed letuananh closed 6 years ago

letuananh commented 6 years ago

For example kanji form and characters are not available in ムーン

========================================
Found entries
========================================
Entry: 1132270 | Kj:   | Kn: ムーン
--------------------
1. moon ((noun (common) (futsuumeishi)))

========================================
Found characters
========================================
letuananh commented 6 years ago

Fixed in commit 8b30d90

[jamdict-dev]$ python3 -m jamdict.tools lookup ムー
No dictionary entry was found.
No character was found.