pology.lang.nn.exclusion

Package pology :: Package lang :: Package nn :: Module exclusion |

# Module exclusion

Catch inofficial ortography forms in Norwegian Nynorsk translation.

The check expects that the translation is plain text, i.e. that any markup has been removed from it beforehand; otherwise, problems masked by markup may not be reported.

Author: Chusslove Illich (Часлав Илић) <caslav.ilic@gmx.net>

License: GPLv3

Functions
`(msgstr, msg, cat) -> spans` |
exclude_forms(dictnames) Check for excluded ortography forms in translation [hook factory]. |

Variables
| __package__ = ``'``pology.lang.nn``'``

Function Details

### exclude_forms(dictnames) |
Check for excluded ortography forms in translation [hook factory]. Parameters: `dictnames` (<string*>) - base names of files from which to collect excluded forms; file paths will be assembled as `<datadir>/lang/nn/exclusion/<dictname>.dat` Returns: `(msgstr, msg, cat) -> spans` type V3C hook