VIMP YAML source

code: VIMP
mfte_code: VIMP
name: Imperatives
definition: >-
  Imperative verb forms.
normalization: finite_verbs
detection:
- source: pybiber
  requires:
  - pos
  cql: '[pos="VB"]'
  description: 'Base form verb — VB tag. Approximate: includes non-imperative base forms.'
- source: mfte
  requires:
  - word
  - pos
  parts:
    p1:
      cql: '[word="[Ll]et"] [word="me|us|''s"]'
    p2:
      cql: '[word="[Bb]etter"] [pos="VB"]'
  combine: "p1 | p2"
  description: >-
    Partial coverage of MFTE's VIMP heuristics. Captures "let me/us"
    patterns (line 1065-1071) and sentence-initial comparatives before
    VB. Full VIMP detection requires sentence-boundary awareness and
    complex context checks that exceed CQL capabilities.
sources:
- mfte
notes: >-
  Relevant to character speech, especially commands. MFTE uses complex
  sentence-level heuristics (sentence-initial VB after punctuation,
  absence of subject pronoun, etc.) that cannot be fully expressed
  in CQL. The mfte rule covers common patterns but not the full
  sentence-position logic.
examples:
- text: Come!
- text: Look here
- text: Tell me