Swiftpack.co - stephanheilner/FTS3HTMLTokenizer as Swift Package

Swiftpack.co is a collection of thousands of indexed Swift packages. Search packages.
See all packages published by stephanheilner.
stephanheilner/FTS3HTMLTokenizer 3.2.3
FTS3 HTML Tokenizer for SQLite
⭐️ 7
🕓 2 weeks ago
.package(url: "https://github.com/stephanheilner/FTS3HTMLTokenizer.git", from: "3.2.3")

FTS3HTMLTokenizer

License

FTS3HTMLTokenizer is available under the MIT license. See the LICENSE file for more info.

Privacy Manifest

  • This package does not access private data.

Usage

#import "fts3_html_tokenizer.h"

Then, in your class when you've initialized your database connection, register the tokenizer. Keep in mind, you can name the tokenizer module whatever you want, just remember to use the same name when creating your virtual FTS table.

registerTokenizer(db, "FTS3HTMLTokenizer", "/stopwords_resource_path");

CREATE VIRTUAL TABLE my_fts_content USING fts4(content, tokenize=FTS3HTMLTokenizer en_US);

GitHub

link
Stars: 7
Last commit: 2 weeks ago
Advertisement: IndiePitcher.com - Cold Email Software for Startups

Release Notes

Added privacy declaration
2 weeks ago

Swiftpack is being maintained by Petr Pavlik | @ptrpavlik | @swiftpackco | API | Analytics