Skip to content

[v2] Compiling freedict xml from dictionaries repo fails #777

Description

@htimur

Hi there, great initiative!

I was playing around with the new V2 CLI and I'm getting an error when I tried to convert the XML files generated by https://github.com/TheOpenDictionary/dictionaries.

As I understood the new V2 is not bc with the old format, but I'm failing to make it work even with intermediate ODXML files.

The error I'm getting executing cli compile -o ./odict/test.odict ./freedict/eng-deu.xml:

An error occurred parsing your XML: 

unknown variant ``, expected one of `adj_pn`, `adj_kari`, `art`, `adj_ku`, `adj_nari`, `adj_na`, `adj_shiku`, `adj_t`, `adj_ix`, `n_adv`, `adv_to`, `adj_no`, `n_pref`, `n_suf`, `n_t`, `adj_f`, `v5b`, `v5g`, `v5k`, `v5m`, `v5n`, `v5r`, `v5r_i`, `v5aru`, `v5k_s`, `v5s`, `v5t`, `v5u`, `v5uru`, `v5u_s`, `v1`, `v1_s`, `vz`, `vk`, `v2b_s`, `v2b_k`, `v2d_s`, `v2d_k`, `v2g_s`, `v2g_k`, `v2h_s`, `v2h_k`, `v2k_s`, `v2k_k`, `v2m_s`, `v2m_k`, `v2n_s`, `v2r_s`, `v2r_k`, `v2s_s`, `v2t_s`, `v2t_k`, `v2a_s`, `v2w_s`, `v2y_s`, `v2y_k`, `v2z_s`, `vn`, `vr`, `vs_c`, `vs`, `vs_i`, `vs_s`, `v_unspec`, `v4b`, `v4g`, `v4h`, `v4k`, `v4m`, `v4n`, `v4r`, `v4s`, `v4t`, `abv`, `adf`, `adj`, `phr_adj`, `adv`, `phr_adv`, `aff`, `aux`, `aux_adj`, `aux_v`, `chr`, `cf`, `cls`, `conj`, `conj_c`, `cop`, `ctr`, `det`, `expr`, `inf`, `intf`, `intj`, `vi`, `name`, `n`, `num`, `part`, `phr`, `postp`, `pref`, `prep`, `phr_prep`, `pron`, `propn`, `prov`, `punc`, `conj_s`, `suff`, `sym`, `vt`, `un`, `v`

Would appreciate if you can point me to what is wrong.

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions