- ruby stemmer (expose libstemmer_c to Ruby)
- stuff classifier (text classifier; naive bayes & tf/idf)
- ve linguistic framework (base form of words, sentence detection, POS, tranliterations, 日本語, english, mecab, freeling)
- ruby nlp (n-grams extraction, corpus extractor, brown corpus)
- lexeme ( simple lexical analyzer)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require "bundler/inline" | |
# allows for declaring a Gemfile inline in a ruby script | |
# optionally installing any gems that aren't already installed | |
gemfile(true) do | |
source "https://rubygems.org" | |
gem "rails", "6.1.4.1" | |
gem "sqlite3" | |
gem "graphql", "~> 1.12" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Ruby archeology: sources: | |
# https://web.archive.org/web/20070226052918/http://codezine.jp/a/article.aspx?aid=461 | |
# https://web.archive.org/web/20061216170428/http://www.okisoft.co.jp/esc/prolog/in-ruby.html | |
# Ruby による簡単な Prolog 処理系 h18.9/8 (鈴) | |
# Simple Prolog processing system using Ruby h18.9/8 (Rin) | |
# Prolog の述語 (predicate) | |
class Pred | |
attr_reader :defs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RACC := racc | |
RACCFLAGS := -g | |
SOURCES := prolog_parser.ry | |
TARGETS := ${patsubst %.ry, %.rb, ${SOURCES}} | |
.SUFFIXES : .rb .ry | |
%.rb : %.ry |
OlderNewer