geary/src/sqlite3-unicodesn
2016-09-20 07:40:55 +10:00
..
libstemmer_c
CMakeLists.txt Fix detection of Sqlite3 SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER enum in cmake 2016-09-20 07:40:55 +10:00
extension.c
fts3_tokenizer.h
fts3_unicode2.c
fts3_unicodesn.c
fts3_unicodesn.h
fts3Int.h
Makefile
README
static.c Fix detection of Sqlite3 SQLITE_DBCONFIG_ENABLE_FTS3_TOKENIZER enum in cmake 2016-09-20 07:40:55 +10:00

SQLite3-unicodesn
==============

SQLite "unicode" full-text-search tokenizer with Snowball stemming

Installation
============

   $ git clone git://github.com/littlesavage/sqlite3-unicodesn.git
   $ cd sqlite3-unicodesn
   $ make
   $ su
   # make install

Usage
======

    $ sqlite3
    sqlite> .load unicodesn.sqlext
    sqlite> CREATE VIRTUAL TABLE fts USING fts3(text, tokenize=unicodesn "stemmer=russian");
    sqlite> INSERT INTO fts VALUES ("Пионэры! Идите в жопу!");
    sqlite> SELECT * FROM fts WHERE text MATCH 'Жопа';
    Пионэры! Идите в жопу!

License
=======

Snowball files and stemmers are covered by the BSD license.

SQLite is in the Public Domain.

SQLite3-unicodesn code is in the Public Domain.