## ------------------------------------------------
## Method `Dictionary$new`
## ------------------------------------------------
library(flashlighttext)
dict <- Dictionary$new(letters)
dict$get_entry(0)
dict$get_index("b")
dict$map_indices_to_entries(1:3)
dict$entry_size()
dict$add_entry("A")
dict$contains("A")
Run the code above in your browser using DataLab