semvec/pypi-packages huggingface dataset:
NLPKnowledge 0.0.2.7
Package to make sense of images with text information
Requires Python: >=3.4

# 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>
```