Skip to content

uililo/RNN-word-order

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

RNN-word-order

  • generate training/testing sentences with generate-sentences/generate_from_pcfg.py
  • create vocab.txt
  • train LSTM model with language_models/main.py
  • create testing sentences of alternative constructions with generate-sentences/create_alternation.py
  • compute word surprisals with language_models/evaluate_target_word_test.py
  • compute total sentence surprisal or average word surprisal with language_models/compute_sentence_surprisal.py

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages