Documentation ¶
Overview ¶
stems_db package operates on a key-value store that contains stems and canonical forms that correspond to these stems. It create such a key-value store if necessary.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConnectKeyVal ¶
func ConnectKeyVal(path string) *badger.DB
ConnectKeyVal connects to a key-value store
func GetValue ¶
GetValue takes a string and a connection to a key-value store and checks if there is such stem key. It returns a list of canonicals that correspond to that key.
func NewStemsKV ¶
NewStemsKV creates key-value store for stems and their canonical forms.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.