morphkit

This __init__.py file serves as the entry point for the ‘morphkit’ package, defining its public API and initialization logic.

This library package for morphological analysis consist of:
  • compare_tags

  • analyse_pos

  • analyse_morph_tag

  • decode_tag

  • parse_word_block

  • analyse_word_with_morpheus

  • get_word_blocks

  • split_in_raw_blocks

All of these names will be usable as:

import morphkit
morphkit.compare_tags(...)
morphkit.analyse_pos(...)
# etc.

Modules

annotate_and_sort_analyses(full_analysis, ...)

Annotate and sort analyses in a morphkit-compatible structure, grouping by base lemma and appending homonym suffixes extracted from lem_full_bc minus lem_base_bc.

decode_tag(tag_input[, debug])

Decode a morphological tag into a set of human-readable features.

get_word_blocks(word_beta, api_endpoint[, ...])

Retrieve the raw word blocks data for a given beta-code word from a Morpheus endpoint.

init_compare_tags()

Factory that initializes and returns a fully-configured compare_tags() function.

parse_word_block(block[, language, debug])

Parse a single Morpheus output block of Beta-code lines into structured morphological data.