# Create and save a dictionary
filename <- system.file("extdata", "text_with_translations.txt", package = "sumer")
dictionary <- make_dictionary(filename)
save_dictionary(
dic = dictionary,
file = file.path(tempdir(), "sumerian_dictionary.txt"),
author = "John Doe",
year = "2026",
version = "1.0",
url = "https://example.com/dictionary"
)
Run the code above in your browser using DataLab