Skip to content

lynchtyler/prologNLP

Repository files navigation

Probabilistic and Context-Sensitive NLP in Prolog

Creators: Ryan De La O & Tyler Lynch

How to Run

  • Open Prolog shell with, gprolog
  • Load PL file:
    • [context_sensitive/probabilistic].
  • Run your queue:
    • Ex: utterance([a, man, exists,]).

Lexicon additions:

adjective(flat). adjective(round). adjective(black). adjective(tinfoil). adjective(small). adjective(ice). adjective(poisonous). adjective(good). adjective(nice). adjective(fantasy). adjective(fake). adjective(real). adjective(reptilian). adjective(hollow). adjective(illegal). adjective(stupid). adjective(great). adjective(graceful). adjective(expensive).

adverb(wisely). adverb(terribly). adverb(eloquently). adverb(stupidly). adverb(illegally).

preposition(against). preposition(for). preposition(before). preposition(after). preposition(outside). preposition(inside). preposition(with). preposition(without). preposition(in). preposition(under).

conjunction(and).

Probabilities Lexicon

See probabilities.pl for these

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages