dalinvip/cw2vec
cw2vec: Learning Chinese Word Embeddings with Stroke n-gram Information
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.
Stars
274
Forks
66
Language
C++
License
Apache-2.0
Category
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.
Higher-rated alternatives
shibing624/text2vec
text2vec, text to vector....
ddangelov/Top2Vec
Top2Vec learns jointly embedded topic, document and word vectors.
predict-idlab/pyRDF2Vec
🐍 Python Implementation and Extension of RDF2Vec
IITH-Compilers/IR2Vec
Implementation of IR2Vec, LLVM IR Based Scalable Program Embeddings
IntuitionEngineeringTeam/chars2vec
Character-based word embeddings model based on RNN for handling real world texts