FraLotito / pytorch-partofspeech-tagger

Part-of-speech tagger with character-level features using PyTorch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

partofspeech-tagger

Part-of-speech tagger with character-level features using PyTorch.

I extended this tutorial adding character-level embeddings and a new LSTM layer.

Requirements

You need Python, PyTorch and Numpy.

Usage

python post.py

Example

Input
The dog ate the apple
Output
The: DET
dog: NN
ate: V
the: DET
apple: NN

About

Part-of-speech tagger with character-level features using PyTorch


Languages

Language:Python 100.0%