text2vec logo

text2vec

shibing624/text2vec

文本向量表征工具,支持多种语义理解和相似度计算模型

GraphCanon updated 3w · GitHub synced 3w

5.0k stars428 forksLast push 6mo Python Apache-2.0

Decision brief

text2vec is a Python-based tool designed for converting textual data into vector matrices using various models such as Word2Vec, RankBM25, Sentence-BERT, and CoSENT.

Good fit when

  • - When you need to leverage multiple text representation techniques in one library to find the best fit for your specific use case.
  • - For tasks requiring high-precision semantic similarity calculations, specifically ifSentence-BERT or CoSENT's methodologies are optimal for your dataset.

Avoid when

  • - When specific optimizations required by an application would be better served by direct implementation of Word2Vec instead of relying on text2vec’s integrated version.
  • - For applications that require real-time performance with minimal latency, as text2vec's comprehensive approach might introduce overheads compared to more lightweight alternatives.
Pricing:
freemium - Free under Apache-2.0 license for open-source use; potential premium support available.
Requirements:
Min 4 GB RAM

Observed Jul 12, 2026 · Source: enrich:decision_facts

Verify the decision

Maintenance and security

Full trust report
Maintenance
Slowing (158d since push)
As of 3w
Provenance
Not a fork · Personal account
As of 3w
Security (OSV)
No lockfile
As of 1mo

Public GitHub metadata and optional OSV scans. Signals, not a guarantee. Trust methodology.

Install

pip install text2vec
PyPI

Similar tools

Same-category neighbours. No typed graph edges are catalogued for this tool yet.

Evidence and technical details

Sourced facts, taxonomy, compatibility claims, README excerpt, and machine-readable endpoints.

Overview

text2vec 是一个用于将文本转化为向量矩阵的工具,它实现了包括 Word2Vec、RankBM25、Sentence-BERT 和 CoSENT 在内的多种文本表示和相似度计算模型。

Capability facts

Languages
python

Source: github.language · Jul 22, 2026

Categories

Compatibility

Sourced claims from the README excerpt - not unsourced marketing copy.

Python runtimePython

Source: README excerpt (regex_v1, Jul 22, 2026)

pip install torch # conda install pytorch
Source link

Tags

README

Install

pip install torch # conda install pytorch
pip install -U text2vec

or

pip install torch # conda install pytorch
pip install -r requirements.txt

git clone https://github.com/shibing624/text2vec.git
cd text2vec
pip install --no-deps .

License

授权协议为 The Apache License 2.0,可免费用做商业用途。请在产品说明中附加text2vec的链接和授权协议。

For agents

This page has a .md twin and JSON over the API.

Was this helpful?

Anonymous feedback helps us improve pages and translations.