DaFull commited on
Commit
a401070
1 Parent(s): 9e21c0a

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +36 -3
README.md CHANGED
@@ -53,10 +53,9 @@ model-index:
53
  library_name: spacy
54
  pipeline_tag: text-classification
55
  ---
56
- ## Custom spaCy NER Model for "Profession," "Facility," and "Experience" Entities
57
 
58
- #### Overview
59
- ### Description
60
  This spaCy-based Named Entity Recognition (NER) model has been custom-trained to recognize and classify entities related to "profession," "facility," and "experience." It is designed to enhance your text analysis capabilities by identifying these specific entity types in unstructured text data.
61
 
62
  ### Key Features
@@ -75,6 +74,40 @@ Can be easily integrated into your existing spaCy-based NLP pipelines.
75
  | **License** | `MIT` |
76
 
77
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
78
  ### Label Scheme
79
 
80
  <details>
 
53
  library_name: spacy
54
  pipeline_tag: text-classification
55
  ---
56
+ # Custom spaCy NER Model for "Profession," "Facility," and "Experience" Entities
57
 
58
+ ### Overview
 
59
  This spaCy-based Named Entity Recognition (NER) model has been custom-trained to recognize and classify entities related to "profession," "facility," and "experience." It is designed to enhance your text analysis capabilities by identifying these specific entity types in unstructured text data.
60
 
61
  ### Key Features
 
74
  | **License** | `MIT` |
75
 
76
 
77
+
78
+ ### Usage
79
+ Installation
80
+ You can install the custom spaCy NER model using pip:
81
+
82
+ '''
83
+ Copy code
84
+ pip install your-ner-model-name
85
+ Example Usage
86
+ Here's how you can use the model for entity recognition in Python:
87
+ '''
88
+
89
+
90
+ python
91
+ Copy code
92
+ import spacy
93
+
94
+ # Load the custom spaCy NER model
95
+ nlp = spacy.load("your-ner-model-name")
96
+
97
+ # Process your text
98
+ text = "John Smith is a software engineer at ABC Corp, with over 10 years of experience."
99
+ doc = nlp(text)
100
+
101
+ # Extract named entities
102
+ 'for ent in doc.ents:
103
+ print(f"Entity: {ent.text}, Type: {ent.label_}")
104
+ Entity Types
105
+ The model recognizes the following entity types:
106
+
107
+ PROFESSION: Represents professions or job titles.
108
+ FACILITY: Denotes facilities, buildings, or locations.
109
+ EXPERIENCE: Identifies mentions of work experience, durations, or qualifications.
110
+ '
111
  ### Label Scheme
112
 
113
  <details>