RFACT YAML source

code: RFACT
mfte_code: RFACT
name: Factive adverbs
definition: Adverbs asserting factual certainty.
normalization: words
detection:
- source: mfte
  requires:
  - word
  - lemma
  - pos
  words:
    adverbs:
    - actually
    - always
    - certainly
    - definitely
    - indeed
    - inevitably
    - never
    - obviously
    - really
    - undoubtedly
  parts:
    p1:
      cql: '[lemma={words_adverbs} & pos="RB.*"]'
    p2:
      cql: '[word="[Oo]f"] [word="[Cc]ourse"]'
    p3:
      cql: '[word="[Ii]n"] [word="[Ff]act"]'
    p4:
      cql: '[word="[Ww]ithout|[Nn]o"] [word="[Dd]oubt"]'
  combine: "(p1 | p2 | p3 | p4) & !FREQ"
  description: >-
    MFTE FREQ (line 1229) REPLACES always/usually/etc. before RFACT
    runs (line 1626). FREQ excludes apply to single-word adverbs only.
    Multi-word expressions (of course, in fact, without/no doubt) match
    regardless of tag (MFTE lines 1627-1629).
sources:
- biber_2006
- mfte