Skip to content

RensaProject/nodebox_linguistics_extended

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Nodebox Linguistics Extended License: GPL v2

Overview

This repository is a modified fork of Tom De Smedt's Nodebox English Linguistics library, which bundles WordNet, NLTK, and other useful modules.

It is used as part of the openly-available Python version of the Rensa framework, which was introduced in the following paper:

@phdthesis{harmon2017narrative,
  title={Narrative Encoding for Computational Reasoning and Adaptation},
  author={Harmon, Sarah M},
  year={2017},
  school={University of California, Santa Cruz}
}

Installation

To install, download the repository and install using setup.py:

python setup.py install

Usage

For convenience, import in python as follows:

import nodebox_linguistics_extended as nle

You can then call the original Nodebox commands. For example:

print nle.verb.infinitive("swimming")

...will print the word "swim".