Thanks to visit codestin.com
Credit goes to github.com

Skip to content
/ libslob Public

C++ Slob (sorted list of blobs) library

License

benjif/libslob

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

libslob

C++ library providing support for reading from Slob (sorted list of blobs) dictionary files.

Background

Slob is a read-only, compressed format that was created for the Aard dictionary reader. The keys are sorted using the Unicode Collation Algorithm.

Dictionaries

You can find a collection of dictionaries in the Slob format here.

Dependencies

sudo apt install cmake liblzma-dev zlib1g-dev libicu-dev

Install

mkdir cmake
cd cmake
cmake ..
make
sudo make install

Usage

Reading

SLOBReader s_reader;
s_reader.open("wordnet-3.1.slob");

SLOBDict dict(s_reader);

auto matches = dict["searchterm"];

if (matches.size() > 0)
  ...

License

BSD 2-clause license.

About

C++ Slob (sorted list of blobs) library

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published