Next: metaphone2
, Previous: Word
, Up: Modules [Contents][Index]
Nprefix
The nprefix
module provides a strategy similar to
‘prefix’, but which returns the specified range of bytes. For
example, the statement
MATCH dict nprefix skip#count#string
where skip and count are positive integer numbers, returns at most count headwords whose prefix matches string, omitting first skip unique matches.
The entire ‘skip#count#’ construct is optional. If not supplied, the ‘nprefix’ strategy behaves exactly as ‘prefix’.
The module is loaded using this simple statement:
load-module nprefix;