Update README.md
#1
by
bhatianamrata
- opened
README.md
CHANGED
|
@@ -12,7 +12,7 @@ tags:
|
|
| 12 |
AcroBERT can do end-to-end acronym linking (see the [Demo](https://huggingface.co/spaces/Lihuchen/AcroBERT) here). Given a sentence, our framework first recognize acronyms by using [MadDog](https://github.com/amirveyseh/MadDog), and then disambiguate them by using AcroBERT:
|
| 13 |
|
| 14 |
```python
|
| 15 |
-
from inference.acrobert
|
| 16 |
|
| 17 |
# input sentence with acronyms, the maximum length is 400 sub-tokens
|
| 18 |
sentence = "This new genome assembly and the annotation are tagged as a RefSeq genome by NCBI."
|
|
|
|
| 12 |
AcroBERT can do end-to-end acronym linking (see the [Demo](https://huggingface.co/spaces/Lihuchen/AcroBERT) here). Given a sentence, our framework first recognize acronyms by using [MadDog](https://github.com/amirveyseh/MadDog), and then disambiguate them by using AcroBERT:
|
| 13 |
|
| 14 |
```python
|
| 15 |
+
from inference.acrobert import acronym_linker
|
| 16 |
|
| 17 |
# input sentence with acronyms, the maximum length is 400 sub-tokens
|
| 18 |
sentence = "This new genome assembly and the annotation are tagged as a RefSeq genome by NCBI."
|