tests/testthat/_snaps/pos_filter.md

lemmatization errors if lemma attribute doesn't exists

Code
  prep(rec)
Condition
  Error in `step_pos_filter()`:
  Caused by error in `bake()`:
  ! `text` doesn't have a pos attribute. Make sure the tokenization step includes part of speech tagging.

empty printing

Code
  rec
Message

  -- Recipe ----------------------------------------------------------------------

  -- Inputs 
  Number of variables by role
  outcome:    1
  predictor: 10

  -- Operations 
  * Part of speech filtering for: <none>
Code
  rec
Message

  -- Recipe ----------------------------------------------------------------------

  -- Inputs 
  Number of variables by role
  outcome:    1
  predictor: 10

  -- Training information 
  Training data contained 32 data points and no incomplete rows.

  -- Operations 
  * Part of speech filtering for: <none> | Trained

printing

Code
  print(rec)
Message

  -- Recipe ----------------------------------------------------------------------

  -- Inputs 
  Number of variables by role
  predictor: 1

  -- Operations 
  * Tokenization for: all_predictors()
  * Part of speech filtering for: all_predictors()
Code
  prep(rec)
Message

  -- Recipe ----------------------------------------------------------------------

  -- Inputs 
  Number of variables by role
  predictor: 1

  -- Training information 
  Training data contained 4 data points and no incomplete rows.

  -- Operations 
  * Tokenization for: text | Trained
  * Part of speech filtering for: text | Trained


EmilHvitfeldt/textrecipes documentation built on April 7, 2024, 5:02 a.m.