svercoutere commited on
Commit
423e85a
·
verified ·
1 Parent(s): 9315296

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +25 -30
README.md CHANGED
@@ -34,6 +34,30 @@ The model was trained on data sourced from **[Lokaal Beslist Vlaanderen](https:/
34
 
35
  The training corpus consists of real-world municipal documents, providing the model with authentic examples of how location entities appear in official Flemish administrative contexts.
36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
  ## Entity Classes
38
 
39
  The model recognizes **8 distinct location-related entity types**:
@@ -109,36 +133,7 @@ The model recognizes **8 distinct location-related entity types**:
109
  #### 16. `PRODUCT`
110
  - **Description**: Products, services, or specific items
111
  - **Examples**: "fietsenstalling", "parkeerautomaat", "LED-verlichting"
112
- ## Usage
113
-
114
- ```python
115
- import spacy
116
-
117
- # Load the trained model
118
- nlp = spacy.load("path/to/model-best")
119
-
120
- # Process text
121
- text = "De werken aan de Korenmarkt 15-17, 9000 Gent worden uitgevoerd."
122
- doc = nlp(text)
123
-
124
- # Extract entities
125
- for ent in doc.ents:
126
- print(f"{ent.text} -> {ent.label_}")
127
-
128
- # Output:
129
- # Korenmarkt -> STREET
130
- # 15-17 -> HOUSENUMBERS
131
- # 9000 -> POSTCODE
132
- # Gent -> CITY
133
- ```
134
-
135
- ## Model Performance
136
-
137
- The model has been optimized for high precision on Flemish administrative documents, with particular focus on:
138
- - **Accuracy**: High precision in identifying location entities in formal Dutch text
139
- - **Coverage**: Comprehensive recognition of Belgian location nomenclature
140
- - **Context Awareness**: Understanding of administrative and municipal terminology
141
-
142
  ## Applications
143
 
144
  This NER model is particularly useful for:
 
34
 
35
  The training corpus consists of real-world municipal documents, providing the model with authentic examples of how location entities appear in official Flemish administrative contexts.
36
 
37
+
38
+ ## Usage
39
+
40
+ ```python
41
+ import spacy
42
+
43
+ # Load the trained model
44
+ nlp = spacy.load("path/to/model-best")
45
+
46
+ # Process text
47
+ text = "De werken aan de Korenmarkt 15-17, 9000 Gent worden uitgevoerd."
48
+ doc = nlp(text)
49
+
50
+ # Extract entities
51
+ for ent in doc.ents:
52
+ print(f"{ent.text} -> {ent.label_}")
53
+
54
+ # Output:
55
+ # Korenmarkt -> STREET
56
+ # 15-17 -> HOUSENUMBERS
57
+ # 9000 -> POSTCODE
58
+ # Gent -> CITY
59
+ ```
60
+
61
  ## Entity Classes
62
 
63
  The model recognizes **8 distinct location-related entity types**:
 
133
  #### 16. `PRODUCT`
134
  - **Description**: Products, services, or specific items
135
  - **Examples**: "fietsenstalling", "parkeerautomaat", "LED-verlichting"
136
+ -
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
137
  ## Applications
138
 
139
  This NER model is particularly useful for: