Skip to main content

Visualize embed of documents

Install requirements and spacy model

You could use conda

conda create --name embedisualization python=3.6

source activate embedisualization

pip install -r requirements.txt

python -m spacy download en_vectors_web_lg

This spacy model (en_vectors_web_lg)[https://spacy.io/models/en#en_vectors_web_lg] is quite heavy (631MB)

Install embedisualization lib

pip install embedisualization

Example

To run exemplary visualisation go to examples directory and run

python sample_text_vis.py

It will take minute or two to generate embeddings and create 2D vis. The new webpage with D3 visualisation will be presented.

Sample of Trump's Tweets Embedisualized

Release files for embedisualization 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for embedisualization 0.4
File Size Uploaded
embedisualization-0.4.tar.gz 4.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for embedisualization 0.4
File Interpreter ABI Platform
embedisualization-0.4-py3-none-any.whl Python 3 none any Details

Total release size: 9.1 kB

Release files / embedisualization-0.4.tar.gz

Download URL embedisualization-0.4.tar.gz
Size 4.3 kB
Tags Source
SHA-256 checksum
How to use checksums
933a710e49364217c83f3203acf23a000745f24bf6b9dfaadf0b08e12ce1a9a5
BLAKE2b-256 checksum
How to use checksums
a187fce787d5949a9038f96fad1ad45a78e46ec4c64f5345c6fb7aad29651d6c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / embedisualization-0.4-py3-none-any.whl

Download URL embedisualization-0.4-py3-none-any.whl
Size 4.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ee3529e1b038f304e38536c649d878a7d45443fb75369ed21f1f6f96fb4de0d2
BLAKE2b-256 checksum
How to use checksums
62949ef7f039e6723b5f87a62c2f47ce1cbdb57b518c2f450f21b6bcb97822c0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

0.4 This release

2 release files

0.3

2 release files

0.2

2 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page