k2-fsa / text_search

Some fast-ish algorithms for batch text search in moderate-sized collections, intended for data cleanup
https://k2-fsa.github.io/text_search/
56 stars 14 forks source link

Hide the implementation detail of create_suffix_array. #23

Closed csukuangfj closed 1 year ago

csukuangfj commented 1 year ago

We manually pad the input array to simplify the calling interface.

Also, we can add renumbering later inside.