extractnet
Example Use
from extractNet.extractNet import extractNet
#Initialize the model
en = extractNet()
#Extract structured data from text
text = "My phone number is 555-555-5555 and my email address is example@example.com"
data = en.extract(text)
#Print the extracted data
print(data)
{'phone_number': '555-555-5555', 'email': 'example@example.com'}