0 purchases
text search
An in-memory fuzzy text search library for Dart.
license.
Usage #
A simple usage example:
import 'package:text_search/text_search.dart';
main() {
final searchableItems = [
TextSearchItem.fromTerms('Coffee Shop', ['coffee', 'latte', 'macchiato', 'tea']),
TextSearchItem.fromTerms('Dessert', ['ice cream', 'cake', 'pastry']),
TextSearchItem.fromTerms('Milk Tea Shop', ['boba', 'milk tea', 'bubble tea']),
];
final placeTypeSearch = TextSearch(searchableItems);
print(placeTypeSearch.search('icecream'));
}
copied to clipboard
Features and bugs #
Please file feature requests and bugs at the issue tracker.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.