negex_upload: Upload NegEx

Description Usage Arguments Value Examples

View source: R/dictionaries.R

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

1
2
3
4
5
6
7
8
9
negex_upload(
  uri_fun,
  user,
  password,
  host,
  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.

port

MongoDB port.

database

MongoDB database name.

selected_model_path

Path to NLP model file.

Value

Confirmation of upload.

Examples

1
2
3
4
5
## 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)

CEDARS documentation built on Feb. 7, 2021, 5:06 p.m.