Skip to content

Custom implementation of TF-Hub's Universal Encoder to perform semantic searches across compendium of plant related PDFs.

Notifications You must be signed in to change notification settings

derekmorr/semantic_analysis

Repository files navigation

semantic_analysis

Custom implementation of TF-Hub's Universal Encoder to perform semantic searches across compendium of plant related PDFs.

Run the following command on your first installation of spacy:

!python -m spacy download en_core_web_md #you will need to install this on first load

To run the script, run the following command:

python3 sem_search.py --pdf_dir="/Users/singhcpt/dev/semantic_analysis/test_compendium" --search_string="What should I do if my tomato has late blight?" --num_results=10

About

Custom implementation of TF-Hub's Universal Encoder to perform semantic searches across compendium of plant related PDFs.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages