negex_upload: Upload NegEx

View source: R/dictionaries.R

negex_uploadR Documentation

Upload NegEx

Description

Prepares and uploads NegEx negation lexicon. It is not absolutely required for CEDARS to function but in practice will improve search accuracy for most applications.

Usage

negex_upload(
  uri_fun,
  user,
  password,
  host,
  replica_set,
  port,
  database,
  selected_model_path = NA
)

Arguments

uri_fun

Uniform resource identifier (URI) string generating function for MongoDB credentials.

user

MongoDB user name.

password

MongoDB user password.

host

MongoDB host server.

replica_set

MongoDB replica set, if indicated.

port

MongoDB port.

database

MongoDB database name.

selected_model_path

Path to NLP model file.

Value

Confirmation of upload.

Examples

## Not run: 
negex_upload(uri_fun = mongo_uri_standard, user = 'John', password = 'db_password_1234',
host = 'server1234', port = NA, database = 'TEST_PROJECT', NA)

## End(Not run)

simon-hans/CEDARS documentation built on Feb. 14, 2024, 3:16 a.m.