STAY WITH US

[Hindi]NLP 10# Spacy Basics Part-1 |NLP|Python 3|Natural Language Processing|2019

[Hindi]NLP 10# Spacy Basics Part-1 |NLP|Python 3|Natural Language Processing|2019

Code :


# -*- coding: utf-8 -*-
"""NLP_Ex6.ipynb

Automatically generated by Colaboratory.
"""

import spacy

npl = spacy.load('en_core_web_sm')

doc = npl(u'Telsa is looking for buying U.S. based startup for $6 million')

for token in doc:
  print(token.text, token.pos_, token.dep_)

nlp.pipeline

nlp.pipe_names



YouTube :


Recommended Book:


Click Me

Post a Comment

0 Comments