module Utils
Extended Modules
Defined in:
mod/utils.crConstant Summary
-
VERSION =
"0.1.0"
Instance Method Summary
- #append_dir(base, dir)
- #attrs_h(attrs) : Hash(String, String)
- #category_as_path(cat : String)
- #exit_error(msg, code = 1)
- #export_norm_filtered(markers, outfilename, lemmas, filters : Hash(String, Tuple(String, String, Array(String))), filter_compare = Types::CompareFlags::Default, splitted = true, dirpath : Nil | String = nil)
- #export_splitted(outfilename : String, sources : Array(LemmaSource), suffix : String, msg : String, t : Symbol = :source, dirpath : Nil | String = nil, verbose = false)
- #export_teilexes(outfilename, teilexs, t : Symbol = :xml)
- #insert_dir(filename, dir)
- #levelize_word_filters(filters : Hash(String, Array(String)))
- #open_source(file)
- #print_error(msg)
- #print_info(message, verbose)
- #save_source(file : String, source : String, dirpath : Nil | String = nil, verbose = false)
- #strings_includes(s, filters, flag)
- #xmlhead(xmlstr)
Instance Method Detail
def export_norm_filtered(markers, outfilename, lemmas, filters : Hash(String, Tuple(String, String, Array(String))), filter_compare = Types::CompareFlags::Default, splitted = true, dirpath : Nil | String = nil)
#
def export_splitted(outfilename : String, sources : Array(LemmaSource), suffix : String, msg : String, t : Symbol = :source, dirpath : Nil | String = nil, verbose = false)
#