Instructions to use DIACDE/NER_LEIS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- spaCy
How to use DIACDE/NER_LEIS with spaCy:
!pip install https://huggingface.co/DIACDE/NER_LEIS/resolve/main/NER_LEIS-any-py3-none-any.whl # Using spacy.load(). import spacy nlp = spacy.load("NER_LEIS") # Importing as module. import NER_LEIS nlp = NER_LEIS.load() - Notebooks
- Google Colab
- Kaggle
Update README.md
Browse files
README.md
CHANGED
|
@@ -41,7 +41,7 @@ texto = "Posta assim a questão e nos termos do art. 226, § 6º da Constituiç
|
|
| 41 |
doc = nlp(texto)
|
| 42 |
|
| 43 |
for ent in doc.ents:
|
| 44 |
-
print(ent.text
|
| 45 |
```
|
| 46 |
|
| 47 |
## Conjunto de dados e treinamento
|
|
|
|
| 41 |
doc = nlp(texto)
|
| 42 |
|
| 43 |
for ent in doc.ents:
|
| 44 |
+
print(f"{ent.text} -> {ent.label_}")
|
| 45 |
```
|
| 46 |
|
| 47 |
## Conjunto de dados e treinamento
|