Skip to content

First assignment for NLP course of the Master’s Degree in Artificial Intelligence

License

Notifications You must be signed in to change notification settings

flaviopinzarrone/Part-Of-Speech-Tagging

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Open In Colab

Part-of-speech tagging

Authors:

First assignement for the "Natural Language Processing" course of the Artificial Intelligence master's degree at University of Bologna.

Abstract

In Natural Language Processing, it is important the use of part-of-speech tagging. By assigning each word a specific tag, algorithms can improve the representation of similar words in different situations. The objective of this study is to tackle part-of-speech tagging with bidirectional recurrent neural models with a small number of parameters. Different networks with different combinations of layers were compared, using recurrent networks such as BiLSTM and BiGRU. The embedding was pre-trained using GloVe-50 and the Out-Of-Vocabulary words were initialized by taking the average of a 3-words context. The two best models, which contained BiLSTM layer, both achieved a Macro-F1 scores of 0.77.

Dataset

For this experiment, the Dependency Parsed Treebank dataset by University of Pennsylvania is used. It contains 199 documents annotated, but in oder to achieve better results each document is been splitted into sentences: 1958 sentences for the training set, 1242 for the validation set and 628 for the test set.

Resources and references

About

First assignment for NLP course of the Master’s Degree in Artificial Intelligence

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Jupyter Notebook 100.0%