ruby-sfst 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/CHANGELOG ADDED
@@ -0,0 +1 @@
1
+ v0.1.0. initial release
data/Manifest ADDED
@@ -0,0 +1,31 @@
1
+ README.rdoc
2
+ Rakefile
3
+ Manifest
4
+ test/test_sfst.rb
5
+ test/test_sfst.fst
6
+ CHANGELOG
7
+ ext/sfst_machine/fst-compiler.h
8
+ ext/sfst_machine/utf8.C
9
+ ext/sfst_machine/operators.C
10
+ ext/sfst_machine/utf8-scanner.ll
11
+ ext/sfst_machine/determinise.C
12
+ ext/sfst_machine/interface.C
13
+ ext/sfst_machine/compact.h
14
+ ext/sfst_machine/basic.h
15
+ ext/sfst_machine/fst.h
16
+ ext/sfst_machine/make-compact.h
17
+ ext/sfst_machine/fst-compiler.yy
18
+ ext/sfst_machine/mem.h
19
+ ext/sfst_machine/compact.C
20
+ ext/sfst_machine/basic.C
21
+ ext/sfst_machine/interface.h
22
+ ext/sfst_machine/sfst_machine.cc
23
+ ext/sfst_machine/extconf.rb
24
+ ext/sfst_machine/alphabet.C
25
+ ext/sfst_machine/fst.C
26
+ ext/sfst_machine/alphabet.h
27
+ ext/sfst_machine/make-compact.C
28
+ ext/sfst_machine/fst-compiler.C
29
+ ext/sfst_machine/utf8.h
30
+ ext/sfst_machine/utf8-scanner.C
31
+ lib/sfst.rb
data/README.rdoc ADDED
@@ -0,0 +1,25 @@
1
+ = ruby-sfst
2
+
3
+ A wrapper for the Stuttgart Finite State Transducer Tools (SFST).
4
+
5
+ == Installation
6
+
7
+ gem install ruby-sfst
8
+
9
+ == License
10
+
11
+ As it includes the SFST code directly, the wrapper inherits the GPL2
12
+ license of the SFST project.
13
+
14
+ == Usage
15
+
16
+ See http://www.ims.uni-stuttgart.de/projekte/gramotron/SOFTWARE/SFST.html
17
+ for details on how to write SFST transducers.
18
+
19
+ Currently, <tt>ruby-sfst</tt> only supports simple compilation, analysis
20
+ and generation using regular and compact transducers. It also only
21
+ supports UTF-8.
22
+
23
+ == Development
24
+
25
+ The project is hosted on github on http://github.com/mlj/ruby-sfst.
data/Rakefile ADDED
@@ -0,0 +1,22 @@
1
+ require 'rubygems'
2
+ require 'rake'
3
+
4
+ begin
5
+ require 'echoe'
6
+
7
+ Echoe.new('ruby-sfst', '0.1.0') do |p|
8
+ p.summary = "A wrapper for the Stuttgart Finite State Transducer Tools (SFST)."
9
+ p.author = 'Marius L. Jøhndal'
10
+ p.email = "mariuslj (at) ifi [dot] uio (dot) no"
11
+ p.url = "http://github.com/mlj/ruby-sfst"
12
+ p.ignore_pattern = ["*.gemspec"]
13
+ p.rdoc_pattern = ["README.rdoc", "lib/*.rb"]
14
+ p.rubyforge_name = "sfst"
15
+ end
16
+
17
+ rescue LoadError => boom
18
+ puts "You are missing a dependency required for meta-operations on this gem."
19
+ puts "#{boom.to_s.capitalize}."
20
+ end
21
+
22
+ Dir["#{File.dirname(__FILE__)}/tasks/*.rake"].sort.each { |ext| load ext }