Commit
·
dfafcac
1
Parent(s):
d214adc
add comp back
Browse files- generic_ner.py +1 -1
generic_ner.py
CHANGED
|
@@ -350,7 +350,7 @@ def postprocess_entities(entities):
|
|
| 350 |
# Step 2: Attach "comp.function" entities to the closest other entities
|
| 351 |
filtered_entities = attach_comp_to_closest(filtered_entities)
|
| 352 |
|
| 353 |
-
filtered_entities = repair_names_in_entities(filtered_entities)
|
| 354 |
|
| 355 |
# Step 3: Remove entities that are not useful for NEL
|
| 356 |
# filtered_entities = clean_coarse_entities(filtered_entities)
|
|
|
|
| 350 |
# Step 2: Attach "comp.function" entities to the closest other entities
|
| 351 |
filtered_entities = attach_comp_to_closest(filtered_entities)
|
| 352 |
|
| 353 |
+
# filtered_entities = repair_names_in_entities(filtered_entities)
|
| 354 |
|
| 355 |
# Step 3: Remove entities that are not useful for NEL
|
| 356 |
# filtered_entities = clean_coarse_entities(filtered_entities)
|