Domain-specific Natural Language Processing with LeafNLP
Project description
LeafNLP - A package for domain specific natural language processing
This repository contains pipes and models of LeafNLP.
Installation
Just simply run
pip install leafnlp
to install LeafNLP.
Usage
from leafnlp.NER.BERT import ModelNER
ner_model = ModelNER(model_param="model_ner_bert_v1")
input_text = [{"text": "The storm hits New York."}]
output = ner_model.annotate(input_text)
Available Models
Task | Model | model_param | Note |
---|---|---|---|
NER | BERT | model_ner_bert_v1 |
Citation
If you use LeafNLP in your research, please cite
Will be here.
Acknowledgements
LeafNLP is maintained by the Leaf-AI-LAB at Stevens Institute of Technology.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
leafnlp-0.0.8.tar.gz
(12.8 kB
view hashes)