Learn practical skills, build real-world projects, and advance your career

Created on March 21st 2020 by Patrick Rotzetter
protzetter@bluewin.ch
https://www.linkedin.com/in/rotzetter/

Small experiment for order mail processing

# Import libraries
import spacy
from spacy.pipeline import EntityRuler
from spacy.matcher import Matcher,PhraseMatcher
from spacy.symbols import nsubj, VERB, dobj, NOUN, root, xcomp
from spacy import displacy
from spacy.matcher import Matcher
from pathlib import Path
import random  
!python -m spacy download en_core_web_lg
from platform import python_version
print(python_version())
!pip show spacy
3.8.5 Name: spacy Version: 2.3.4 Summary: Industrial-strength Natural Language Processing (NLP) in Python Home-page: https://spacy.io Author: Explosion Author-email: contact@explosion.ai License: MIT Location: c:\users\patrick_rotzetter\anaconda3\envs\base38\lib\site-packages Requires: tqdm, blis, murmurhash, wasabi, catalogue, plac, cymem, srsly, numpy, thinc, preshed, requests, setuptools Required-by: texthero, en-core-web-sm, en-core-web-lg
# load spacy model

from spacy.lang.en import English
import en_core_web_lg
nlp = en_core_web_lg.load()