Skip to content
This repository was archived by the owner on Feb 7, 2023. It is now read-only.

Commit d2bc161

Browse files
committed
plausible
1 parent 3f57332 commit d2bc161

File tree

3 files changed

+65
-1
lines changed

3 files changed

+65
-1
lines changed

mkdocs.yml

+4
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ plugins:
3030
copyright: Copyright &copy; 2020 <a href="https://twitter.com/Rasa_HQ">Rasa</a>, Maintained by <a href="https://twitter.com/fishnets88">Vincent</a>.
3131
theme:
3232
name: material
33+
custom_dir: theme/
3334
favicon: images/fig.png
3435
logo:
3536
icon: album
@@ -38,3 +39,6 @@ theme:
3839
palette:
3940
primary: white
4041
accent: purple
42+
markdown_extensions:
43+
- toc:
44+
permalink: true

theme/partials/footer.html

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
{#-
2+
This file was automatically generated - do not edit
3+
-#}
4+
{% import "partials/language.html" as lang with context %}
5+
<footer class="md-footer">
6+
{% if page.previous_page or page.next_page %}
7+
<div class="md-footer-nav">
8+
<nav class="md-footer-nav__inner md-grid">
9+
{% if page.previous_page %}
10+
<a href="{{ page.previous_page.url | url }}" title="{{ page.previous_page.title | striptags }}" class="md-flex md-footer-nav__link md-footer-nav__link--prev" rel="prev">
11+
<div class="md-flex__cell md-flex__cell--shrink">
12+
<i class="md-icon md-icon--arrow-back md-footer-nav__button"></i>
13+
</div>
14+
<div class="md-flex__cell md-flex__cell--stretch md-footer-nav__title">
15+
<span class="md-flex__ellipsis">
16+
<span class="md-footer-nav__direction">
17+
{{ lang.t("footer.previous") }}
18+
</span>
19+
{{ page.previous_page.title }}
20+
</span>
21+
</div>
22+
</a>
23+
{% endif %}
24+
{% if page.next_page %}
25+
<a href="{{ page.next_page.url | url }}" title="{{ page.next_page.title | striptags }}" class="md-flex md-footer-nav__link md-footer-nav__link--next" rel="next">
26+
<div class="md-flex__cell md-flex__cell--stretch md-footer-nav__title">
27+
<span class="md-flex__ellipsis">
28+
<span class="md-footer-nav__direction">
29+
{{ lang.t("footer.next") }}
30+
</span>
31+
{{ page.next_page.title }}
32+
</span>
33+
</div>
34+
<div class="md-flex__cell md-flex__cell--shrink">
35+
<i class="md-icon md-icon--arrow-forward md-footer-nav__button"></i>
36+
</div>
37+
</a>
38+
{% endif %}
39+
</nav>
40+
</div>
41+
{% endif %}
42+
<div class="md-footer-meta md-typeset">
43+
<div class="md-footer-meta__inner md-grid">
44+
<div class="md-footer-copyright">
45+
{% if config.copyright %}
46+
<div class="md-footer-copyright__highlight">
47+
{{ config.copyright }}
48+
</div>
49+
{% endif %}
50+
powered by
51+
<a href="https://www.mkdocs.org" target="_blank" rel="noopener">MkDocs</a>
52+
and
53+
<a href="https://squidfunk.github.io/mkdocs-material/" target="_blank" rel="noopener">
54+
Material for MkDocs</a>
55+
</div>
56+
{% include "partials/social.html" %}
57+
</div>
58+
</div>
59+
<script async defer data-domain="rasahq.github.io/whatlies" src="https://plausible.io/js/plausible.js"></script>
60+
</footer>

whatlies/language.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def _selected_idx_spacy(string):
2121
class SpacyLanguage:
2222
"""
2323
This object is used to lazily fetch [Embedding][whatlies.embedding.Embedding]s or
24-
[EmbeddingSet][whatlies.embeddingset.EmbeddingSet]s from a sense2vec language
24+
[EmbeddingSet][whatlies.embeddingset.EmbeddingSet]s from a spaCy language
2525
backend. This object is meant for retreival, not plotting.
2626
2727
Arguments:

0 commit comments

Comments
 (0)