Discover Packages
github.com/rleiwang/sa
package
module
Version:
v1.0.0
Opens a new window with list of versions in this module.
Published: Oct 2, 2020
License: Apache-2.0
Opens a new window with license information.
Imports: 0
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
README
¶
BWT construction by inducing SA
var text []byte
// fill data in buffer text
...
// transform text to BWT, cnt is length of original text
cnt, bwt, _ := BWT(text)
Please note, this implementation is different from others in following:
sentinel starts from the beginning of the text, ie, LMS is actually RMS.
only supports UTF-8 encoded text input
Multi strings use byte value (1) as divider
References
This implementation has referenced the following papers and code
Expand ▾
Collapse ▴
Documentation
¶
Aux Auxiliary for merge
BWT transforms t into BWT, returns the length of BWT, BWT and auxiliary data structure can be used to merge BWTs
Source Files
¶
Click to show internal directories.
Click to hide internal directories.