You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Cargo.lock info for reproduce(as I am using package from github directly):
[[package]]
name = "wordshk_tools"
version = "1.0.0-beta.10"
source = "git+https://github.com/AlienKevin/wordshk-tools.git?branch=main#e6283cb6415b8fa71ad0019330cd5eb528886d5f"
The text was updated successfully, but these errors were encountered:
Thanks for trying out this library. I didn't document it clearly. Can you try the parse_dict example I just added to github?
Here are three important preparation steps that I didn't document clearly:
Some new edits may contain syntax errors in the latest version. You can find the entry with the error and fix it on words.hk or use this older working CSV in this repo downloaded on Mar 17, 2022.
The CSV file may contain an extra "" at the first line or if you downloaded it from the website, it has two lines of metadata at the beginning. In either case, you need to manually delete those lines so the parser can understand the CSV. The metadata looks something like this:
,,"--- Generated 2022-03-16 20:05:03.248395 (UTC) - ALL RIGHTS RESERVED. DO NOT DISTRIBUTE UNLESS WITH EXPLICIT PERMISSION. You may be eligible to use this work under https://words.hk/base/hoifong/ , otherwise please contact email (info at words.hk) for licensing or collaboration enquiries. Although you are not required to notify us when using this CSV (as long as you obtain a permission under the license above), you may want to let us know (via the email above) so that we can notify you when we make significant changes to the format of this file. "
""
I tried to use your library like this:
And I hit an error like this:
I am using the csv here: https://github.com/wordshk/data2021/blob/main/all.csv.gz
Cargo.lock
info for reproduce(as I am using package from github directly):The text was updated successfully, but these errors were encountered: