Project

odin

0.0
Repository is archived
No commit activity in last 3 years
No release in over 3 years
A parser for human languages.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.8.7

Runtime

~> 0.1
~> 2.2.1
~> 1.0.8
 Project Readme

Odin

Flattr this git repo

Odin Esper from Final Fantasy VI

Build Status

Odin is an ATN (Augmented Transition Network) based parser for natural languages with basic part of speech tagging and word-sense disambiguation. Currently, the only supported language is English, but other languages can be added.

Please also see Raiden, my simpler, easier-to-understand reimplementation of Odin.

Usage

ruby check_grammar.rb file_name

Output is saved to file_name.checked.html. There are some test files in "test/fixtures/".

History

This is based on a project I made for a Computational Linguistics course at the University of Iowa (taught by now-retired Professor Oden, hence the name) back in 2007. It's not the earliest "serious" Ruby code I've written, but it's pretty close.

Contributing

I'm not actively developing Odin right now, but if you have a use for it and you'd like to be a maintainer, please let me know.

You can run unit and functional tests with rake test.

Resources

The design of the AugmentedTransitionNetwork class was inspired by Paul Graham's implementation in Lisp. For details on his implementation, please see the full text of his book On Lisp (pages 309 - 320).

Also, there's a diagram of the ATN being used in images/atn_diagram.pdf.

License

Please see the LICENSE.md file.