Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
doc
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README

# Dary

Dary is a library which implements a data structure called Double-Array. Double-Array
is one of the structure of TRIE. Dary can construct a dictionary with reasonable time
consuming, can find value by key very fast. (It only depends on the length of searching
key.)


## Install

    ./configure; make; make install

## How to use

First, build double array index with command 'darybuild'.

    $ darybuild keywords.txt keywords.dary

keywords.txt should contain one keyword per line, need not to be sorted.

Next, search with command 'darysearch'. darysearch do common prefix search by input string.

    $ darysearch keywords.dary
    (Input something)

If you want to use dary from your programs, your program should link to libdary. 
See dary.h for functions you can use with dary.
You may want to see sample in sample directory.

## Restriction

 * Key deleation feature is not implemented yet.
 * API would be changed later.

About

double array trie

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.