Skip to content

Yoshikoder import for dictionaries not working fully #722

Description

@kbenoit

(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*

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions