Switch to unified view

a b/docs/assets/fragments/congestive-heart-failure-examples.md
1
2
=== "1"
3
    ```python
4
    text = "Présence d'un oedème pulmonaire"
5
    doc = nlp(text)
6
    spans = doc.spans["congestive_heart_failure"]
7
8
    spans
9
    # Out: [oedème pulmonaire]
10
    ```
11
12
=== "2"
13
    ```python
14
    text = "Le patient est équipé d'un pace-maker"
15
    doc = nlp(text)
16
    spans = doc.spans["congestive_heart_failure"]
17
18
    spans
19
    # Out: [pace-maker]
20
    ```
21
22
=== "3"
23
    ```python
24
    text = "Un cardiopathie non décompensée"
25
    doc = nlp(text)
26
    spans = doc.spans["congestive_heart_failure"]
27
28
    spans
29
    # Out: []
30
    ```
31
32
=== "4"
33
    ```python
34
    text = "Insuffisance cardiaque"
35
    doc = nlp(text)
36
    spans = doc.spans["congestive_heart_failure"]
37
38
    spans
39
    # Out: [Insuffisance cardiaque]
40
    ```
41
42
=== "5"
43
    ```python
44
    text = "Insuffisance cardiaque minime"
45
    doc = nlp(text)
46
    spans = doc.spans["congestive_heart_failure"]
47
48
    spans
49
    # Out: []
50
    ```