lindera-morphology/lindera

Documentation issue around UserDictionaryConfig

tokuhirom opened this issue · 1 comments

https://github.com/lindera-morphology/lindera/blob/2fb1780deb338d5fbe534dcb80fdb1a570904eeb/README.md#user-dictionary-example
https://github.com/lindera-morphology/lindera/blob/2fb1780deb338d5fbe534dcb80fdb1a570904eeb/lindera/README.md#user-dictionary-example

This document says:

    let user_dictionary = Some(UserDictionaryConfig {
        kind: DictionaryKind::IPADIC,
        source_type: DictionarySourceType::Csv,
        path: PathBuf::from("./resources/ipadic_simple_userdic.csv"),
    });

but there's no source_type filed in UserDictionaryConfig struct.

The implementation and documentation are inconsistent.

mosuka commented

@tokuhirom
Thanks. I'll fix it later.