Skip to content

Conversation

@averypai
Copy link

I got UnicodeEncodeError while running the command in Linux.

wikipedia2vec build-dump-db zhwiki-latest-pages-articles.xml.bz2 dump.db
wikipedia2vec build-dictionary dump.db dict.db --min-entity-count 0

截圖 2022-03-28 上午9 39 09

At the end, I solved the error by changing the encoding to allow model apply on chinese wiki dump.

@ikuyamada ikuyamada force-pushed the master branch 2 times, most recently from 4efe44f to b459f6c Compare January 10, 2024 10:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants