dalinvip/cw2vec

cw2vec: Learning Chinese Word Embeddings with Stroke n-gram Information

42
/ 100
Emerging

Implements stroke n-gram composition alongside classical word2vec variants (skipgram, CBOW) and fastText subword approaches, with the substoke model leveraging Chinese character stroke sequences as compositional features. Built in C++ with CMake, it outputs dual embeddings—context vectors and stroke n-gram averages—and includes pre-extracted stroke features for 20,901 simplified Chinese characters. Evaluated on Chinese word similarity benchmarks, demonstrating improved performance over character-agnostic baselines.

274 stars. No commits in the last 6 months.

Stale 6m No Package No Dependents
Maintenance 0 / 25
Adoption 10 / 25
Maturity 9 / 25
Community 23 / 25

How are scores calculated?

Stars

274

Forks

66

Language

C++

License

Apache-2.0

Last pushed

Mar 20, 2023

Commits (30d)

0

Get this data via API

curl "https://pt-edge.onrender.com/api/v1/quality/embeddings/dalinvip/cw2vec"

Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.