Skip to content

translate english sentences to first order logic

Notifications You must be signed in to change notification settings

andysama79/nl2fol

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nl2fol

General Information

Please put all your inputs in the input.txt file.
All outputs are stored in output.txt file.

At the time of writing this piece of software, some part-of-speech (POS) tags were only used, namely:

S -> Sentence
VP -> Verb Phrase
NP -> Noun Phrase
NNP -> Proper Nouns
NN -> Common Nouns
VBZ -> Verbalizers
DT -> Determiner

The software is heavily inspired by StanfordCoreNLP's Stanza.

Setting up the code

  1. Make sure you have conda installed. To install conda follow the documentation here.
  2. Use the environment.yml file to create the environment:
conda env create --name envname --file=environment.yml
  1. Build the cabal project:
cd interpreter
cabal update
cabal build

Running the code

To run the code:

python main.py -f input.txt

References

About

translate english sentences to first order logic

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published