projects
/
chise
/
ruby.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
0cb975c727754dd5795e582d00d5a0a24921f426
[chise/ruby.git]
/
chise
/
libchise.rb
1
# Copyright (C) 2002-2004 Kouichirou Eto, All rights reserved.
2
3
require "chise/libchise_r"
4
begin
5
require "libchise_c.so"
6
#raise LoadError
7
module CHISE
8
DataSource = DataSource_C
9
Feature = Feature_C
10
CCS = CCS_C
11
end
12
rescue LoadError
13
module CHISE
14
DataSource = DataSource_R
15
Feature = Feature_R
16
CCS = CCS_R
17
end
18
end