Skip to contents

Downloads (once, into a per-user cache) and loads the pinned udpipe English-EWT model the classifier requires, storing it in the package for internal use.

Usage

patccat_load_model(dir = tools::R_user_dir("patccatClaims", "data"))

Arguments

dir

Cache directory for the model file.

Value

The udpipe model object, invisibly.

Details

Called automatically on the first fn.patccat call; call it explicitly to pre-fetch the model. The exact build (ud-2.5-191206) is pinned so classifications stay reproducible.

See also

Examples

if (FALSE) { # \dontrun{
patccat_load_model()
} # }