wbi-sg commited on
Commit
3036533
·
verified ·
1 Parent(s): 7e1915e

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +2 -1
README.md CHANGED
@@ -52,7 +52,8 @@ As an alternative to downloading the already precomputed model (much storage). Y
52
  and compute the embeddings for the dataset using:
53
 
54
  ```python
55
- linker = EntityMentionLinker.build("dmis-lab/biosyn-biobert-ncbi-disease", dictionary_name_or_path="ctd-diseases", hybrid_search=True)
 
56
  ```
57
 
58
  This will reduce the download requirements, at the cost of computation.
 
52
  and compute the embeddings for the dataset using:
53
 
54
  ```python
55
+ from flair.models.entity_mention_linking import BioSynEntityPreprocessor
56
+ linker = EntityMentionLinker.build("dmis-lab/biosyn-biobert-ncbi-disease", dictionary_name_or_path="ctd-diseases", preproccessor=BioSynEntityPreprocessor(), hybrid_search=True)
57
  ```
58
 
59
  This will reduce the download requirements, at the cost of computation.