Skip to main content

NLPKnowledge

Installation instructions

Install package:

  • pip install NLPKnowledge

Install basic NLP model:

  • python -m spacy download en_core_web_sm

Install tesseract (Mac OS) or use https://github.com/tesseract-ocr/tesseract/wiki to find instructions for your platform

  • brew install tesseract

Check path where language models should be installed

  • brew list tesseract

*t should look like "/usr/local/Cellar/tesseract/4.0.0/share/tessdata/"

Install language models to tessdata:

wget -P /usr/local/Cellar/tesseract/4.0.0/share/tessdata/ https://github.com/tesseract-ocr/tessdata/raw/4.00/eng.traineddata
wget -P /usr/local/Cellar/tesseract/4.0.0/share/tessdata/ https://github.com/tesseract-ocr/tessdata/raw/4.00/rus.traineddata

How to

Name images:

name_screenshot <abs_file_path>
name_screenshots <abs_dir_path>
name_screenshots --ignore_named <abs_dir_path>

Create text siblings for each image:

create_text_siblings <abs_file_path>
create_text_siblings <abs_dir_path>
create_text_siblings --recursive <abs_dir_path>

Metadata

Release files for NLPKnowledge 0.0.2.7

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

Built distribution (wheel)

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

Release files / NLPKnowledge-0.0.2.7-py3-none-any.whl

Download URL NLPKnowledge-0.0.2.7-py3-none-any.whl
Size 10.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d8e6f13a1604e1885f323c01cdee8df48f6fd0afe684b91f771973f866eafc80
BLAKE2b-256 checksum
How to use checksums
084ef803c5dc196d3dc22cdfeed4c3f4932e863549f5a30ca99c7e26a9e87357
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.32.2 CPython/3.7.0

Release history Release notifications | RSS feed

This release

0.0.2.7 This release

1 release file

0.0.2.5

1 release file

0.0.2.4

1 release file

0.0.2.3

1 release file

0.0.2.2

1 release file

0.0.2.1

1 release file

0.0.2

1 release file

0.0.1

1 release file

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