Skip to content

This is my solution for the three labs of NLP week1.

Notifications You must be signed in to change notification settings

aheritianad/NLP_week1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Labs NLP week1 AIMS-AMMI 2022

NLP_week1
|
├── Lab1
│   ├── data
│   │   └── data.zip
|   │       └── train1.txt
|   │       └── train2.txt
|   │       └── valid1.txt
|   │       └── valid2.txt
│   ├── logistic_regression.ipynb
│   └── naive_bayes.ipynb
|
├── Lab2
│   ├── data
│   │   └── data.zip
|   │       └── lexicon-en-fr.txt
|   │       └── wiki.en.vec
|   │       └── wiki.fr.vec
│   └── intro_to_wordvectors.ipynb
|
├── Lab3
│   ├── data
│   │   └── data.zip
|   │       └── train1.txt
|   │       └── train2.txt
|   │       └── valid1.txt
|   |       └── valid2.txt
│   └── n_gram_models.ipynb
|
└── README.md

Lab1 : bag of words - Language Identifier (LID)

Data

  • train1.txt & valid1.txt
  • train2.txt & valid2.txt

Notebooks

  • Naive Bayes
    naive_bayes.ipynb

  • Logistic regression
    logistic_regression.ipynb

Lab 2: wordvectors - Language Translation

Data

  • wiki.en.vec
  • wiki.fr.vec
  • lexicon-en-fr.txt

Notebook

intro_to_wordvectors.ipynb

Lab3 : n-gram models - Text Generator

Data

  • train1.txt & valid1.txt
  • train2.txt & valid2.txt

Notebook

n_gram_models.ipynb

About

This is my solution for the three labs of NLP week1.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published