(from http://stackoverflow.com/questions/43819992/quanteda-applying-yoshikoder-dictionary-with-multiple-levels)
Consider the file http://yoshikoder.sourceforge.net/code/yoshikoder/dictionaries/LaverGarryAJPS.ykd (from here). If you download this and try to import it, it only shows two keys, even though the dictionary contains many more.
> mydict <- dictionary(file = "~/Desktop/LaverGarryAJPS.ykd")
> mydict
Dictionary object with 2 key entries.
- Rural:
- badgers, countryside, feed, hens, livestock, meadows, wildlife, agricultur*, bird*, farm*, fish*, forest*, horse*, landscape*, lane*, village*
- Urban:
- town*
(from http://stackoverflow.com/questions/43819992/quanteda-applying-yoshikoder-dictionary-with-multiple-levels)
Consider the file http://yoshikoder.sourceforge.net/code/yoshikoder/dictionaries/LaverGarryAJPS.ykd (from here). If you download this and try to import it, it only shows two keys, even though the dictionary contains many more.