Class: GrammarCop::Dictionary
- Inherits:
-
Object
- Object
- GrammarCop::Dictionary
- Extended by:
- LinkGrammar
- Defined in:
- lib/grammar_cop/dictionary.rb
Class Method Summary collapse
- .create(language) ⇒ Object
- .destroy(dict) ⇒ Object
-
.set_dictionary_path(dir) ⇒ Object
call before create.
Methods included from LinkGrammar
create_dictionary, create_linkage, create_parse_options, create_sentence, delete_dictionary, delete_linkage, delete_parse_options, delete_sentence, dictionary_path_set, disjunct_cost_get, disjunct_cost_set, islands_ok_get, islands_ok_set, linkage_count_num_links, linkage_count_num_words, linkage_count_sublinkages, linkage_limit_get, linkage_limit_set, max_null_count_get, max_null_count_set, min_null_count_get, min_null_count_set, options_null_block_get, options_null_block_set, parse_sentence, print_linkage_diagram, short_length_get, short_length_set
Class Method Details
.create(language) ⇒ Object
11 12 13 |
# File 'lib/grammar_cop/dictionary.rb', line 11 def self.create(language) create_dictionary(language) end |
.destroy(dict) ⇒ Object
15 16 17 |
# File 'lib/grammar_cop/dictionary.rb', line 15 def self.destroy(dict) delete_dictionary(dict) end |
.set_dictionary_path(dir) ⇒ Object
call before create
7 8 9 |
# File 'lib/grammar_cop/dictionary.rb', line 7 def self.set_dictionary_path(dir) dictionary_path_set(dir) end |