Skip to content

Fenerator/Word-Embeddings-for-Semantic-Analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Word Embeddings for Semantic Analysis

Implementing Word Embeddings from Scratch (PA1)

to run program enter:

 python3 PA1/PA1.py text_V2.txt B_V2.txt T_V2.txt

Arguments:

  1. text file
  2. text file containing Basis (B) words
  3. text file containing Target (T) words

Arguments are optional, default names are:

  1. 'text.txt' (a text containing President Obama's speeches) (not provided in zip folder)
  2. 'B.txt'
  3. 'T.txt'

About

Implements word embeddings from scratch, using co-occurence counts with PMI weighting.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages