FM indices are data structures for memory efficient storage of large sets of strings (corpus). Searches for partial matches with the corpus are extremely fast.
Arguments
- strings
- Vector of strings (corpus) to construct FM index from 
- case_sensitive
- Build case-sensitive index if TRUE 
Value
A FM Index object that can be passed to fm_index_locate() for
finding matches in the corpus.
See also
Other FM Index functions: 
fm_index_locate(),
fm_index_save()
Examples
data("state")
index <- fm_index_create(state.name, case_sensitive = FALSE)