From d386993023367991d6e1077b8b0a908d749a18b8 Mon Sep 17 00:00:00 2001 From: MaartenGr Date: Sat, 23 Jul 2022 10:31:52 +0200 Subject: [PATCH] Fix typo in documentation --- docs/tutorial/models/models.md | 4 ++-- mkdocs.yml | 6 +++++- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/docs/tutorial/models/models.md b/docs/tutorial/models/models.md index 89627f0..4b3a5c0 100644 --- a/docs/tutorial/models/models.md +++ b/docs/tutorial/models/models.md @@ -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) ``` @@ -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() diff --git a/mkdocs.yml b/mkdocs.yml index 817b19b..4b8f019 100644 --- a/mkdocs.yml +++ b/mkdocs.yml @@ -32,7 +32,7 @@ nav: plugins: - mkdocstrings - search -copyright: Copyright © 2020 , Maintained by Maarten Grootendorst. +copyright: Copyright © 2022 , Maintained by Maarten Grootendorst. theme: name: material favicon: images/favicon.png @@ -43,6 +43,10 @@ theme: primary: white accent: blue markdown_extensions: + - admonition + - pymdownx.details + - pymdownx.highlight + - pymdownx.superfences - toc: permalink: true - pymdownx.arithmatex: