opts <- nametagger_options(token = list(window = 2))
opts
opts <- nametagger_options(time = list(use = TRUE, window = 3),
token_capitalised = list(use = TRUE, window = 1),
ner_previous = list(use = TRUE, window = 5))
opts
opts <- nametagger_options(
lemma_capitalised = list(window = 3),
brown = list(window = 1, file = "path/to/brown/clusters/file.txt"),
gazetteers = list(window = 1,
file_loc = "path/to/txt/file1.txt",
file_time = "path/to/txt/file2.txt"))
opts
opts <- nametagger_options(
lemma_capitalised = list(window = 3),
brown = list(window = 2,
file = "path/to/brown/clusters/file.txt"),
gazetteers_enhanced = list(
loc = "LOC", type_loc = "form", save_loc = "embed_in_model", file_loc = "pathto/loc.txt",
time = "TIME", type_time = "form", save_time = "embed_in_model", file_time = "pathto/time.txt")
)
opts
Run the code above in your browser using DataLab