Skip to content

Commit

Permalink
Fix typo in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
MaartenGr committed Jul 23, 2022
1 parent 9d373a8 commit d386993
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/tutorial/models/models.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ from polyfuzz import PolyFuzz
from_list = ["apple", "apples", "appl", "recal", "house", "similarity"]
to_list = ["apple", "apples", "mouse"]

tfidf = TFIDF(n_gram_range=(3, 3), min_similarity=0, matcher_id="TF-IDF")
tfidf = TFIDF(n_gram_range=(3, 3), min_similarity=0, model_id="TF-IDF")
model = PolyFuzz(tfidf).match(from_list, to_list)
```

Expand Down Expand Up @@ -267,7 +267,7 @@ from_list = ["apple", "apples", "appl", "recal", "house", "similarity"]
to_list = ["apple", "apples", "mouse"]

bert = TransformerWordEmbeddings('bert-base-multilingual-cased')
bert_matcher = Embeddings(bert, min_similarity=0, matcher_id="BERT")
bert_matcher = Embeddings(bert, min_similarity=0, model_id="BERT")
tfidf_matcher = TFIDF(min_similarity=0)
edit_matcher = EditDistance()

Expand Down
6 changes: 5 additions & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ nav:
plugins:
- mkdocstrings
- search
copyright: Copyright &copy; 2020 , Maintained by <a href="https://github.com/MaartenGr/">Maarten Grootendorst</a>.
copyright: Copyright &copy; 2022 , Maintained by <a href="https://github.com/MaartenGr/">Maarten Grootendorst</a>.
theme:
name: material
favicon: images/favicon.png
Expand All @@ -43,6 +43,10 @@ theme:
primary: white
accent: blue
markdown_extensions:
- admonition
- pymdownx.details
- pymdownx.highlight
- pymdownx.superfences
- toc:
permalink: true
- pymdownx.arithmatex:
Expand Down

0 comments on commit d386993

Please sign in to comment.