QUAN YAML source

code: QUAN
mfte_code: QUAN
name: Quantifiers
definition: >-
  Quantifying determiners: all, any, both, each, every, few, many, several, some,
  etc.
normalization: nouns
detection:
- source: mfte
  requires:
  - word
  - pos
  parts:
    p1:
      cql: '[pos="PDT" & word!="such"]'
    p2:
      cql: '[word={words} & pos="DT|PDT|JJ|NN|NNS|CD|RB|CC"]'
    p3:
      cql: '[word="more" & pos="JJR"]'
    p4:
      cql: '[word="lot|bit|little|tad" & pos!="RB|VB.*"] [word="of"]'
    p5:
      cql: '[word="a"] [word="lot|bit|little|tad" & pos!="RB|VB.*"]'
    p6:
      cql: '[word="couple|load"] [word="of"]'
  combine: "p1 | p2 | p3 | p4 | p5 | p6"
  words:
  - all
  - any
  - billions
  - both
  - dozens
  - each
  - enough
  - every
  - few
  - half
  - heaps
  - hundreds
  - less
  - loada
  - loads
  - lots
  - many
  - millions
  - much
  - plenty
  - several
  - some
  - thousands
  - wee
  - zillions
  description: >-
    MFTE quantifiers. Includes PDT tag, simple word list for common
    quantifiers, plus context-dependent patterns (a lot/bit of, more_JJ,
    less_JJ, most of). Many colloquial forms (loads, heaps, zillions).
    "both" matched regardless of POS (MFTE line 434 uses \\bboth_ with
    no POS restriction). "a little/lot/bit/tad" matched without requiring
    "of" (MFTE line 437).
sources:
- mfte