a b/mkdocs.yml
1
site_name: EDS-NLP
2
3
repo_url: https://github.com/aphp/edsnlp
4
repo_name: aphp/edsnlp
5
6
# copyright: Copyright © 2022 – Assistance Publique - Hôpitaux de Paris
7
8
# extra:
9
#   social:
10
#     - icon: fontawesome/brands/github
11
#       link: https://github.com/aphp
12
13
theme:
14
  language: en
15
  name: material
16
  custom_dir: docs/assets/overrides
17
  palette:
18
    - scheme: default
19
      toggle:
20
        icon: material/brightness-4
21
        name: Switch to dark mode
22
    - scheme: slate
23
      toggle:
24
        icon: material/brightness-7
25
        name: Switch to light mode
26
27
  # logo: assets/logo/edsnlp.svg
28
  favicon: assets/logo/edsnlp.svg
29
  features:
30
    - navigation.tracking
31
    - navigation.instant
32
    - navigation.indexes
33
    - navigation.prune
34
    - navigation.top
35
    - navigation.footer
36
    - content.code.annotate
37
    - content.code.copy
38
    - announce.dismiss
39
40
nav:
41
  - index.md
42
  - Demo: https://aphp.github.io/edsnlp/demo" target="_blank
43
  - Tutorials:
44
      - Overview: tutorials/index.md
45
      - tutorials/spacy101.md
46
      - tutorials/matching-a-terminology.md
47
      - tutorials/qualifying-entities.md
48
      - tutorials/visualization.md
49
      - tutorials/detecting-dates.md
50
      - tutorials/reason.md
51
      - tutorials/endlines.md
52
      - tutorials/aggregating-results.md
53
      - tutorials/multiple-texts.md
54
      - advanced-tutorials/fastapi.md
55
      - tutorials/make-a-training-script.md
56
      - tutorials/training.md
57
      - tutorials/tuning.md
58
  - Pipes:
59
      - Overview: pipes/index.md
60
      - Core Pipelines:
61
          - pipes/core/index.md
62
          - pipes/core/normalizer.md
63
          - pipes/core/sentences.md
64
          - pipes/core/matcher.md
65
          - pipes/core/terminology.md
66
          - pipes/core/contextual-matcher.md
67
          - pipes/core/endlines.md
68
      - Qualifiers:
69
          - pipes/qualifiers/index.md
70
          - pipes/qualifiers/negation.md
71
          - pipes/qualifiers/family.md
72
          - pipes/qualifiers/hypothesis.md
73
          - pipes/qualifiers/reported-speech.md
74
          - pipes/qualifiers/history.md
75
      - Miscellaneous:
76
          - pipes/misc/index.md
77
          - pipes/misc/dates.md
78
          - pipes/misc/quantities.md
79
          - pipes/misc/consultation-dates.md
80
          - pipes/misc/sections.md
81
          - pipes/misc/reason.md
82
          - pipes/misc/tables.md
83
          - pipes/misc/split.md
84
      - Named Entity Recognition:
85
          - Overview: pipes/ner/index.md
86
          - Scores:
87
            - pipes/ner/scores/index.md
88
            - pipes/ner/scores/charlson.md
89
            - pipes/ner/scores/emergency-ccmu.md
90
            - pipes/ner/scores/emergency-gemsa.md
91
            - pipes/ner/scores/emergency-priority.md
92
            - pipes/ner/scores/sofa.md
93
            - pipes/ner/scores/elston-ellis.md
94
          - Disorders:
95
            - pipes/ner/disorders/index.md
96
            - pipes/ner/disorders/aids.md
97
            - pipes/ner/disorders/ckd.md
98
            - pipes/ner/disorders/copd.md
99
            - pipes/ner/disorders/cerebrovascular-accident.md
100
            - pipes/ner/disorders/congestive-heart-failure.md
101
            - pipes/ner/disorders/connective-tissue-disease.md
102
            - pipes/ner/disorders/dementia.md
103
            - pipes/ner/disorders/diabetes.md
104
            - pipes/ner/disorders/hemiplegia.md
105
            - pipes/ner/disorders/leukemia.md
106
            - pipes/ner/disorders/liver-disease.md
107
            - pipes/ner/disorders/lymphoma.md
108
            - pipes/ner/disorders/myocardial-infarction.md
109
            - pipes/ner/disorders/peptic-ulcer-disease.md
110
            - pipes/ner/disorders/peripheral-vascular-disease.md
111
            - pipes/ner/disorders/solid-tumor.md
112
            - pipes/ner/covid.md
113
          - Behaviors:
114
            - pipes/ner/behaviors/index.md
115
            - pipes/ner/behaviors/alcohol.md
116
            - pipes/ner/behaviors/tobacco.md
117
          - pipes/ner/adicap.md
118
          - pipes/ner/tnm.md
119
          - pipes/ner/umls.md
120
          - pipes/ner/cim10.md
121
          - pipes/ner/drugs.md
122
          - pipes/ner/suicide_attempt.md
123
124
      - Trainable components:
125
          - pipes/trainable/index.md
126
          - 'Transformer': pipes/trainable/embeddings/transformer.md
127
          - 'Text CNN': pipes/trainable/embeddings/text_cnn.md
128
          - 'Span Pooler': pipes/trainable/embeddings/span_pooler.md
129
          - 'NER': pipes/trainable/ner.md
130
          - 'Span Classifier': pipes/trainable/span-classifier.md
131
          - 'Span Linker': pipes/trainable/span-linker.md
132
          - 'Biaffine Dependency Parser': pipes/trainable/biaffine-dependency-parser.md
133
          - 'Extractive QA': pipes/trainable/extractive-qa.md
134
  - tokenizers.md
135
  - Data Connectors:
136
      - data/index.md
137
      - data/standoff.md
138
      - data/conll.md
139
      - data/json.md
140
      - data/parquet.md
141
      - data/pandas.md
142
      - data/polars.md
143
      - data/spark.md
144
      - data/converters.md
145
  - Concepts:
146
      - concepts/pipeline.md
147
      - concepts/torch-component.md
148
      - concepts/inference.md
149
  - Utilities:
150
      - utilities/index.md
151
      - utilities/tests/blocs.md
152
      - utilities/tests/examples.md
153
      - utilities/matchers.md
154
  - Code Reference: reference/
155
  - contributing.md
156
  - changelog.md
157
158
extra:
159
  version:
160
    provider: mike
161
    default: latest
162
#   Just uncomment the following lines to enable i18n
163
#   alternate:
164
#     - name: English
165
#       link: /en/
166
#       lang: en
167
#     - name: Français
168
#       link: /fr/
169
#       lang: fr
170
171
extra_css:
172
  - assets/stylesheets/extra.css
173
  - assets/stylesheets/cards.css
174
  - assets/termynal/termynal.css
175
176
extra_javascript:
177
  - https://cdn.jsdelivr.net/npm/vega@5
178
  - https://cdn.jsdelivr.net/npm/vega-lite@5
179
  - https://cdn.jsdelivr.net/npm/vega-embed@6
180
  - assets/termynal/termynal.js
181
  - https://polyfill.io/v3/polyfill.min.js?features=es6
182
  - https://cdn.jsdelivr.net/npm/mathjax@3/es5/tex-mml-chtml.js
183
184
watch:
185
  - contributing.md
186
  - changelog.md
187
  - edsnlp
188
189
hooks:
190
    - docs/scripts/plugin.py
191
192
plugins:
193
  - redirects:
194
      redirect_maps:
195
        'pipes/trainable/span-qualifier.md': 'pipes/trainable/span-classifier.md'
196
  - search
197
  - minify:
198
      minify_html: true
199
      minify_js: true
200
      minify_css: true
201
      htmlmin_opts:
202
          remove_comments: true
203
      cache_safe: true
204
  - autorefs:
205
      priority:
206
        - .*
207
        - reference
208
  - mkdocstrings:
209
      enable_inventory: true
210
      custom_templates: docs/assets/templates
211
      handlers:
212
        python:
213
          options:
214
            extensions:
215
              - docs/scripts/griffe_ext.py:EDSNLPDocstrings
216
            docstring_style: numpy
217
            docstring_section_style: spacy
218
            heading_level: 2
219
            members_order: source
220
            show_root_toc_entry: false
221
            show_signature: false
222
            merge_init_into_class: true
223
  - bibtex:
224
      bibtex_file: "docs/references.bib"
225
  - clickable_snippets:
226
# Just uncomment the following lines to enable i18n
227
# and start creating .fr.md and .en.md files.
228
#  - i18n:
229
#      default_language: en
230
#      docs_structure: suffix
231
#      languages:
232
#        en:
233
#          name: English
234
#          build: true
235
  - mike
236
237
markdown_extensions:
238
  - pymdownx.highlight
239
  - admonition
240
  - pymdownx.superfences
241
  - pymdownx.inlinehilite
242
  - pymdownx.snippets
243
  - pymdownx.tabbed:
244
      alternate_style: true
245
      slugify: !!python/object/apply:pymdownx.slugs.slugify
246
        kwds:
247
          case: lower
248
  - pymdownx.arithmatex:
249
      generic: true
250
  - footnotes
251
  - md_in_html
252
  - attr_list
253
  - pymdownx.details
254
  - pymdownx.tasklist:
255
      custom_checkbox: true
256
  - pymdownx.emoji:
257
      emoji_index: !!python/name:materialx.emoji.twemoji
258
      emoji_generator: !!python/name:materialx.emoji.to_svg
259
  - docs.scripts.cards
260
261
validation:
262
  absolute_links: ignore
263
  unrecognized_links: ignore