### Navigation

- index
- modules |
- CCHR 1.0 documentation »

# `Sentence Rules`

class `src.sentence_rules.``SentenceRules`(log)
  `convert_sentences`(row, ruleset, **kw)

    Tries to convert sentences by finding key in ruleset. If key not found then codes unknown.

    @param row: The row to assign values to @param ruleset: The ruleset which stores the key, value rule mappings to convert a given key into sentence variables @param skip_unknown: A list of variables which should not be coded during unknown coding. @return: Returns the key that was passed in on key param. If remove_key is true will remove the key that was matched on from the string

  `recode_inc`(row)

`src.``sentence_rules`

  alias of `src.sentence_rules`

### Navigation

- index
- modules |
- CCHR 1.0 documentation »