Skip to content

Commit

Permalink
PNC-212: Automated docstring with sphinx (#20)
Browse files Browse the repository at this point in the history
* [PNC-675] Update prod codebase with UD improvements

* [PNC-675] Update prod codebase with UD improvements

* [PNC-675] Update prod codebase with UD improvements

* [PNC-212] Automated docstring with sphinx

* PNC-212

* [PNC-212]  Automated docstring with sphinx

* [PNC-212] Clean up index pages

* PNC[212] fix GA issue with ubuntu version

* PNC[212] fix GA issue with ubuntu version

* add tests for optional imports

* undo test env patches for optional import in bert

* undo test env patches for optional import in custom hunspell

* add __module__ def to faqt top level and update index and usage pages, change theme

* Move class docstrings from init to class

* capitalize faqt name

* minor fixes

---------

Co-authored-by: Carlos Samey <carlossamey@Carloss-MacBook-Pro.local>
Co-authored-by: Suzin You <suzinyou.sy@gmail.com>
Co-authored-by: Sid Ravinutala <sid.ravi1@gmail.com>
  • Loading branch information
4 people authored Feb 9, 2023
1 parent 912fabb commit e0899ba
Show file tree
Hide file tree
Showing 135 changed files with 697 additions and 27,688 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
- name: Install Dependencies with Apt Get
run: |
sudo apt-get update
sudo apt-get install python3.8 jq -y
sudo apt-get install python3.9 jq -y
- name: Install libraries
run: |
pip install '.[dev]'
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ instance/

# Sphinx documentation
docs/_build/
docs/build/

# PyBuilder
target/
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ contents (e.g. FAQs) based on their relevance to the text.
The Scorer class needs the contents and some pre-trained NLP model to do the match
scoring. It outputs the match score for each of the content.

![FAQT match scoring
diagram](docs/readme/images/faqt_readme-how_it_works-faq_matching.drawio.png)
![FAQT match scoring diagram](docs/readme/images/faqt_readme-how_it_works-faq_matching.drawio.png)

* For Scorers that use word embeddings, scoring is based on the distances between
words or sets of words from the message and the contents.
Expand Down
Binary file removed docs/build/doctrees/api.doctree
Binary file not shown.
Binary file removed docs/build/doctrees/environment.pickle
Binary file not shown.
Binary file removed docs/build/doctrees/generated/faqt.doctree
Binary file not shown.
Binary file removed docs/build/doctrees/generated/faqt.model.doctree
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed docs/build/doctrees/generated/faqt.utils.doctree
Binary file not shown.
Binary file removed docs/build/doctrees/index.doctree
Binary file not shown.
Binary file removed docs/build/doctrees/usage.doctree
Binary file not shown.
4 changes: 0 additions & 4 deletions docs/build/html/.buildinfo

This file was deleted.

11 changes: 0 additions & 11 deletions docs/build/html/_sources/api.rst.txt

This file was deleted.

30 changes: 0 additions & 30 deletions docs/build/html/_sources/generated/faqt.model.embeddings.rst.txt

This file was deleted.

36 changes: 0 additions & 36 deletions docs/build/html/_sources/generated/faqt.model.models.rst.txt

This file was deleted.

33 changes: 0 additions & 33 deletions docs/build/html/_sources/generated/faqt.model.rst.txt

This file was deleted.

35 changes: 0 additions & 35 deletions docs/build/html/_sources/generated/faqt.model.topic_models.rst.txt

This file was deleted.

31 changes: 0 additions & 31 deletions docs/build/html/_sources/generated/faqt.preprocessing.rst.txt

This file was deleted.

This file was deleted.

23 changes: 0 additions & 23 deletions docs/build/html/_sources/generated/faqt.rst.txt

This file was deleted.

29 changes: 0 additions & 29 deletions docs/build/html/_sources/generated/faqt.scoring_functions.rst.txt

This file was deleted.

44 changes: 0 additions & 44 deletions docs/build/html/_sources/generated/faqt.utils.rst.txt

This file was deleted.

45 changes: 0 additions & 45 deletions docs/build/html/_sources/index.rst.txt

This file was deleted.

Loading

0 comments on commit e0899ba

Please sign in to comment.