Skip to content
This repository has been archived by the owner on Sep 4, 2020. It is now read-only.
/ udawg Public archive

A micro directed acyclic word graph (DAWG) implementation

License

Notifications You must be signed in to change notification settings

imiric/udawg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

udawg

This is a small, barely working, incomplete implementation of a Directed Acyclic Word Graph, a.k.a. Minimal Acyclic Finite State Automaton, a data structure closely related to a Trie.

Its purpose is to efficiently store a large word dataset and allow for quick lookups, which is typically used in spell checkers, autocomplete engines or environments with limited memory.

The work here was largely inspired by Steve Hanov's article. The main difference is that this implementation should work with unsorted data, and allow value retrieval.

Use at your own risk. Patches welcome.

Setup

npm install udawg

License

MIT

About

A micro directed acyclic word graph (DAWG) implementation

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published