danoan.correct_markdown.core.model module

class danoan.correct_markdown.core.model.DiffItem(context: str, original_value: str, new_value: str, operation: str)[source]

Bases: object

Parameters:
  • context (str)

  • original_value (str)

  • new_value (str)

  • operation (str)

context: str
new_value: str
operation: str
original_value: str
class danoan.correct_markdown.core.model.Metadata(markdown_file: str, title: str, original: str, corrected: str, corrections_explanations: List[str], summary: str, words_definitions: Dict[str, str])[source]

Bases: object

Parameters:
  • markdown_file (str)

  • title (str)

  • original (str)

  • corrected (str)

  • corrections_explanations (List[str])

  • summary (str)

  • words_definitions (Dict[str, str])

corrected: str
corrections_explanations: List[str]
markdown_file: str
original: str
summary: str
title: str
words_definitions: Dict[str, str]
class danoan.correct_markdown.core.model.TextDiffMode(value)[source]

Bases: Enum

An enumeration.

Letter = 'letter'
Word = 'word'