ApplicationSettings: app_name: "Guusaaw" app_meta_title: "Online Northern Haida dictionary" short_name: "guusaaw" default_locale: "hdn" default_pair: ["hdn", "eng"] mobile_default_pair: false locales_available: - hdn - en meta_description: > Free online, mobile friendly dictionaries for Northern Haida meta_keywords: > northern haida, mobile, dictionary, free admins_to_email: - "trond.trosterud@uit.no" UnitTests: - "tests.hdn_lexicon" Tools: xfst_lookup: &LOOKUP '/usr/bin/lookup' opt: &OPT '/opt/smi/' Morphology: hdn: tool: *LOOKUP file: [*OPT, '/hdn/bin/analyser-dict-gt-desc.xfst'] inverse_file: [*OPT, '/hdn/bin/generator-dict-gt-norm.xfst'] format: 'xfst' options: compoundBoundary: "+Use/Circ#" derivationMarker: "+Der" tagsep: '+' inverse_tagsep: '+' hdnM: tool: *LOOKUP file: [*OPT, '/hdn/bin/analyser-dict-gt-desc-mobile.xfst'] inverse_file: [*OPT, '/hdn/bin/generator-dict-gt-norm.xfst'] format: 'xfst' options: compoundBoundary: "+Use/Circ#" derivationMarker: "+Der" tagsep: '+' inverse_tagsep: '+' Languages: - iso: hdn minority_lang: true - iso: hdnM variant: True # this makes the fab process skip attempting `svn up` here. - iso: eng Dictionaries: - source: hdn target: eng path: 'dicts/hdneng.xml' show_korp_search: True korp_search_host: "http://gtweb.uit.no/c_korp" input_variants: # "mobile" is important, otherwise templates and swapping won't # work - type: "standard" description: !gettext "Standard" example: "(aá)" # NB: must be same as analyser name short_name: "hdn" - type: "mobile" description: !gettext "Mobile friendly" example: "(a → a ~ á)" short_name: "hdnM" # TODO: move this section to its own file in language_specific_confs. ReaderConfig: hdn: multiword_lookups: true multiword_range: "-4,+4" multiword_list: # File format-- plain text, but line coments allowed: # Use %WORD% as a marker for any word these may co-occur with, i.e., if # the user clicks on a %WORD%, then search for these environments too. file: "configs/language_specific_rules/reader/hdn_multiwords.txt" # NB: this is JavaScript format, since it will be sent to the reader via # config. It must also be stored as a string. # # JavaScript is problematic with unicode, and \w in a regex ends up meaning # just the ASCII range, thus it's necessary to be very explicit. # word_regex: | [\u00C0-\u1FFF\u2C00-\uD7FF\w\.']+ word_regex_opts: "g"