Knowledge Graph Creation And Part Of Speech Tagging Using NLTK

FS Ndzomga
4 min readAug 24, 2023
Photo by Jason Leung on Unsplash

NLTK (Natural Language Toolkit) is a Python library that provides various tools for working with human language data, including part-of-speech tagging. Here’s a simple example of how to use NLTK for part-of-speech tagging:

import nltk
from nltk.tokenize import word_tokenize
from nltk.tag import pos_tag
import ssl

ssl._create_default_https_context =…

--

--

FS Ndzomga

Engineer passionate about data science, startups, product management, philosophy and French literature. Built lycee.ai, discute.co and rimbaud.ai