hin/key3.py

6 lines
151 B
Python
Raw Normal View History

2024-09-27 12:11:59 +02:00
import spacy
nlp = spacy.load("en_core_sci_lg")
text = "Characterization of SiC MOSFET using double pulse test method"
doc = nlp(text)
print(doc.ents)