This version is a big overhaul for people like me with OCD on text formatting and beatification.
It took me three days to solve & test all found minor formatting kinks when printing words from the Merriam Wester Dictionary:
- utilized vertical alignment when a word encounters 2 digit first-level number labels;
- fixed spacing and coloring of a word's multiple pronunciations;
- fixed some uncommon tags not getting printed;
- fixed some example sentences not getting printed when they are under particular definition tags;
- further pinpointed words that should be highlighted in the web example sentences;
- highlighted the word inside an example sentence;
- did a few color tweaks;
- for phases not found, parsed and printed the redirect page containing similar ones, just like what the Webster's web does;
...
Since I did the Webster in the granular fashion, it's unavoidable to omit uncommon tags or modify one place in a word ending up with unexpected and unwanted changes in other words, which may have happened in the previous versions and is hard to be noticed too, because, after all, you can't test all of the words in a dictionary. Luckily, after several iterations, especially this one, things are getting close to perfection. I've fully tested some small but rich words with long entries and various strange tags, including tear, bear, beat, run, green, in, and some informal words, like blah, honeybun, on the toes, ... They all work beautifully well and look even cleaner and clearer on the terminal than they do on the official web in my opinion.
Webster is now eye candy to me. Hope you like it too. Stay tuned for future goodies. Thanks.