omorfi 0.9.9
Open morphology of Finnish
Functions
omorfi.formats.twolc_formatter Namespace Reference

Functions

def format_copyright_twolc ()
 
def format_alphabet_twolc (_, ruleset)
 
def format_sets_twolc (_, ruleset)
 
def format_definitions_twolc (_, ruleset)
 
def format_rules_twolc (_, ruleset)
 

Detailed Description

Just a hack to hide some ugly twolc stuff in a python file.

Function Documentation

◆ format_alphabet_twolc()

def omorfi.formats.twolc_formatter.format_alphabet_twolc (   _,
  ruleset 
)
Generate pair alphabet in twolc format.

◆ format_copyright_twolc()

def omorfi.formats.twolc_formatter.format_copyright_twolc ( )
Generate a copyright notice in twolc format.

◆ format_definitions_twolc()

def omorfi.formats.twolc_formatter.format_definitions_twolc (   _,
  ruleset 
)
Generate Regex definitions in twolc foramt.

◆ format_rules_twolc()

def omorfi.formats.twolc_formatter.format_rules_twolc (   _,
  ruleset 
)
Generate rules in twolc format.

◆ format_sets_twolc()

def omorfi.formats.twolc_formatter.format_sets_twolc (   _,
  ruleset 
)
Generate alphabet subsets in twolc format.