[normalize] adding an option for string trimming in normalize

This commit is contained in:
Al
2015-07-27 01:59:14 -04:00
parent b94526a27b
commit 053b987d58
2 changed files with 5 additions and 0 deletions

View File

@@ -44,6 +44,7 @@ extern "C" {
#define NORMALIZE_STRING_STRIP_ACCENTS 1 << 2
#define NORMALIZE_STRING_DECOMPOSE 1 << 3
#define NORMALIZE_STRING_LOWERCASE 1 << 4
#define NORMALIZE_STRING_TRIM 1 << 5
#define NORMALIZE_TOKEN_REPLACE_HYPHENS 1 << 0
#define NORMALIZE_TOKEN_DELETE_HYPHENS 1 << 1