czech_plus.logic.processor#

Package for processors of the words.

Subpackages#

Package Contents#

Functions#

get_processor(...)

Get processor for the note type.

process_card(→ Optional[str])

Process the card.

get_processor(note_type: str) implementations.base.BaseProcessor | None[source]#

Get processor for the note type.

Parameters:

note_type – Name of the note type.

Returns:

Processor for the note type or None, if it wasn’t found.

process_card(content: dict[str, str], note_type: str) str | None[source]#

Process the card.

Parameters:
  • content – Content of the card.

  • note_type – Name of the note type.

Returns:

Processed content of the card or None, if processor wasn’t found.