module BlingFire
Extended Modules
Defined in:
blingfire.crblingfire/libblingfire.cr
blingfire/model.cr
blingfire/version.cr
Constant Summary
-
SOURCE_URL =
"https://github.com/kojix2/blingfire-crystal"
-
VERSION =
{{ (`shards version /home/runner/work/blingfire-crystal/blingfire-crystal/src/blingfire`).chomp.stringify }}
Instance Method Summary
- #free_model(model)
- #ids_to_text(model, ids, skip_special_tokens = true, output_buffer_size = nil)
- #lib_version
- #load_model(model_path)
- #normalize_spaces(text)
- #text_to_ids(model, text, max_len = nil, unk_id = 0)
- #text_to_ids_with_offsets(model, text, max_len = nil, unk_id = 0)
- #text_to_sentences(text)
- #text_to_sentences_with_model(model, text)
- #text_to_sentences_with_offsets(text)
- #text_to_sentences_with_offsets_with_model(model, text)
- #text_to_words(text)
- #text_to_words_with_model(model, text)
- #text_to_words_with_offsets(text)
- #text_to_words_with_offsets_with_model(model, text)