raiden 0.0.1.alpha.1
Sign up to get free protection for your applications and to get access to all the features.
- data/.gitignore +4 -0
- data/Gemfile +4 -0
- data/LICENSE.md +10 -0
- data/README.md +32 -0
- data/Rakefile +1 -0
- data/images/raiden-ff6.gif +0 -0
- data/lib/raiden.rb +5 -0
- data/lib/raiden/version.rb +3 -0
- data/raiden.gemspec +20 -0
- metadata +80 -0
data/.gitignore
ADDED
data/Gemfile
ADDED
data/LICENSE.md
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
The MIT License
|
2
|
+
===============
|
3
|
+
|
4
|
+
Copyright (c) 2007-2011 Benjamin Oakes
|
5
|
+
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
7
|
+
|
8
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
9
|
+
|
10
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,32 @@
|
|
1
|
+
Raiden
|
2
|
+
======
|
3
|
+
|
4
|
+
![Raiden Esper from Final Fantasy VI](https://github.com/benjaminoakes/raiden/raw/master/images/raiden-ff6.gif)
|
5
|
+
|
6
|
+
Raiden is a simple **ATN** (Augmented Transition Network) 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.
|
7
|
+
|
8
|
+
If interested, please become a watcher.
|
9
|
+
|
10
|
+
History
|
11
|
+
-------
|
12
|
+
|
13
|
+
This is based on a project I made for a Computational Linguistics course at the University of Iowa taught by now-retired [Professor Oden][oden] in 2007. The original version of the code was called [Odin][] because of that (and it's just a cool name :) ). Odin has decent code, but is more complicated than necessary.
|
14
|
+
|
15
|
+
Raiden is my re-do, but is much less functional (although still useful). The name comes from Final Fantasy VI, where Raiden is an upgrade of the esper Odin.
|
16
|
+
|
17
|
+
[oden]: http://cs.uiowa.edu/~oden
|
18
|
+
[odin]: https://github.com/benjaminoakes/odin
|
19
|
+
|
20
|
+
Resources
|
21
|
+
---------
|
22
|
+
|
23
|
+
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_][onlisp] (pages 309 - 320).
|
24
|
+
|
25
|
+
Also, there's a diagram of the ATN being used in `images/atn_diagram.pdf`.
|
26
|
+
|
27
|
+
[onlisp]: http://www.paulgraham.com/onlisptext.html
|
28
|
+
|
29
|
+
License
|
30
|
+
-------
|
31
|
+
|
32
|
+
MIT. Please see the `LICENSE.md` file.
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require 'bundler/gem_tasks'
|
Binary file
|
data/lib/raiden.rb
ADDED
data/raiden.gemspec
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
# -*- encoding: utf-8 -*-
|
2
|
+
$:.push File.expand_path("../lib", __FILE__)
|
3
|
+
require "raiden/version"
|
4
|
+
|
5
|
+
Gem::Specification.new do |s|
|
6
|
+
s.name = "raiden"
|
7
|
+
s.version = Raiden::VERSION
|
8
|
+
s.authors = ["Benjamin Oakes"]
|
9
|
+
s.email = ["ben@benjaminoakes.com"]
|
10
|
+
s.homepage = ""
|
11
|
+
s.summary = %q{A simple ATN parser for human languages, such as English.}
|
12
|
+
s.description = s.summary
|
13
|
+
|
14
|
+
s.rubyforge_project = "raiden"
|
15
|
+
|
16
|
+
s.files = `git ls-files`.split("\n")
|
17
|
+
s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n")
|
18
|
+
s.executables = `git ls-files -- bin/*`.split("\n").map{ |f| File.basename(f) }
|
19
|
+
s.require_paths = ["lib"]
|
20
|
+
end
|
metadata
ADDED
@@ -0,0 +1,80 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: raiden
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
hash: -3702664362
|
5
|
+
prerelease: 6
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 1
|
10
|
+
- alpha
|
11
|
+
- 1
|
12
|
+
version: 0.0.1.alpha.1
|
13
|
+
platform: ruby
|
14
|
+
authors:
|
15
|
+
- Benjamin Oakes
|
16
|
+
autorequire:
|
17
|
+
bindir: bin
|
18
|
+
cert_chain: []
|
19
|
+
|
20
|
+
date: 2011-10-06 00:00:00 -04:00
|
21
|
+
default_executable:
|
22
|
+
dependencies: []
|
23
|
+
|
24
|
+
description: A simple ATN parser for human languages, such as English.
|
25
|
+
email:
|
26
|
+
- ben@benjaminoakes.com
|
27
|
+
executables: []
|
28
|
+
|
29
|
+
extensions: []
|
30
|
+
|
31
|
+
extra_rdoc_files: []
|
32
|
+
|
33
|
+
files:
|
34
|
+
- .gitignore
|
35
|
+
- Gemfile
|
36
|
+
- LICENSE.md
|
37
|
+
- README.md
|
38
|
+
- Rakefile
|
39
|
+
- images/raiden-ff6.gif
|
40
|
+
- lib/raiden.rb
|
41
|
+
- lib/raiden/version.rb
|
42
|
+
- raiden.gemspec
|
43
|
+
has_rdoc: true
|
44
|
+
homepage: ""
|
45
|
+
licenses: []
|
46
|
+
|
47
|
+
post_install_message:
|
48
|
+
rdoc_options: []
|
49
|
+
|
50
|
+
require_paths:
|
51
|
+
- lib
|
52
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
53
|
+
none: false
|
54
|
+
requirements:
|
55
|
+
- - ">="
|
56
|
+
- !ruby/object:Gem::Version
|
57
|
+
hash: 3
|
58
|
+
segments:
|
59
|
+
- 0
|
60
|
+
version: "0"
|
61
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
62
|
+
none: false
|
63
|
+
requirements:
|
64
|
+
- - ">"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
hash: 25
|
67
|
+
segments:
|
68
|
+
- 1
|
69
|
+
- 3
|
70
|
+
- 1
|
71
|
+
version: 1.3.1
|
72
|
+
requirements: []
|
73
|
+
|
74
|
+
rubyforge_project: raiden
|
75
|
+
rubygems_version: 1.6.2
|
76
|
+
signing_key:
|
77
|
+
specification_version: 3
|
78
|
+
summary: A simple ATN parser for human languages, such as English.
|
79
|
+
test_files: []
|
80
|
+
|