jakelever commited on
Commit
ec0075e
·
verified ·
1 Parent(s): 1232351

Change example

Browse files
Files changed (1) hide show
  1. README.md +3 -2
README.md CHANGED
@@ -26,10 +26,11 @@ ner_pipeline = pipeline("token-classification",
26
  aggregation_strategy="max")
27
 
28
  # Apply it to some text
29
- ner_pipeline("EGFR T790M mutations have been known to affect treatment outcomes for NSCLC patients receiving erlotinib.")
30
 
31
  # Output:
32
-
 
33
  ```
34
 
35
  ## Dataset Info
 
26
  aggregation_strategy="max")
27
 
28
  # Apply it to some text
29
+ ner_pipeline("Tuberculous is an infectious disease.")
30
 
31
  # Output:
32
+ # [ {"entity_group": "SpecificDisease", "score": 0.99873, "word": "tuberculous", "start": 0, "end": 11},
33
+ # {"entity_group": "DiseaseClass", "score": 0.99418, "word": "infectious disease", "start": 18, "end": 36} ]
34
  ```
35
 
36
  ## Dataset Info