Skip to content

Persistent, simple, powerful and portable autocomplete library

Notifications You must be signed in to change notification settings

kronic/autocomplete

 
 

Repository files navigation

Autocomplete Library for DotNetCore

  • Fully Persistent and Memory support
  • Ultra lightweight and powerful
  • Ready to use in web and desktop
  • Portable Class Library
  • Free commercial usage (apache 2.0 licence)
  • Fastest autocomplete algorithm.
  • O(n) complexity for searching (n is length of input)

http://tureng.com - Live on best dictionary site of Turkey!

##Index Builder Sample

var builder = new IndexBuilder(headerStream, indexStream);
builder.Add("keyword");
//builder.AddRange([IEnumerable<string>]);
//builder.WithDataSource(source);
builder.Build();

##Search sample

IIndexSearcher searcher = new InMemoryIndexSearcher(headerPath, indexPath);
SearchResult searchResult = searcher.Search(term, 5, false);
//print(searchResult)

About

Persistent, simple, powerful and portable autocomplete library

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C# 65.9%
  • PowerShell 34.1%