v1.0.2
text_search
Simple in-memory fuzzy text searching library.
31Likes 69.1K30-day downloads150Pub points
AndroidiOSWebmacOSWindowsLinux
An in-memory fuzzy text search library for Dart.
English project snapshot. Visit GitHub for the latest content.
An in-memory fuzzy text search library for Dart.
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'));
}
Please file feature requests and bugs at the issue tracker.
Start with your use case, compare repository activity, and check the original project before adopting it.
“A repository is the most basic element of GitHub.”
GitHub Docs — About repositories ↗