Skip to content

Commit

Permalink
Update create_ner_model.py
Browse files Browse the repository at this point in the history
  • Loading branch information
NHLOCAL committed Jul 31, 2023
1 parent 2c1f292 commit 570727e
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions machine-learn/create_ner_model.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@
import pandas as pd
import random

# ####
from pathlib import Path
current_working_directory = Path.cwd()
print(current_working_directory)
# ####

# Function to check alignment and fix misaligned entities
def check_alignment(nlp, text, entities):
doc = nlp.make_doc(text)
Expand Down

0 comments on commit 570727e

Please sign in to comment.