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

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +11 -8
README.md CHANGED
@@ -79,28 +79,31 @@ Can be easily integrated into your existing spaCy-based NLP pipelines.
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
 
 
79
  Installation
80
  You can install the custom spaCy NER model using pip:
81
 
82
+ ```bash
83
  Copy code
84
+ pip install https://huggingface.co/DaFull/en_ner_job_postings/resolve/main/en_ner_job_postings-any-py3-none-any.whl
85
+
86
+ ```
87
+ #### Example Usage
88
  Here's how you can use the model for entity recognition in Python:
 
89
 
90
+ ```python
91
 
 
 
92
  import spacy
93
 
94
  # Load the custom spaCy NER model
95
+ nlp = spacy.load("en_ner_job_postings")
96
 
97
  # Process your text
98
+ text = "HR Specialist needed at XYZ Corporation, Dallas, TX, with expertise in employee relations and a minimum of 4 years of HR 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
+
105
+ ```
106
+
107
  Entity Types
108
  The model recognizes the following entity types:
109