Skip to content

A universal C++ library for FST inverted index structures

Notifications You must be signed in to change notification settings

alexli-77/FST-Cplusplus

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

FST-Cplusplus

A universal C++ library for FST inverted index structures

Introduction

FST is a commonly used inverted index data structure in Lucene. It not only ensures the compression efficiency O(K) of prefix tree (K is the length of keywords), but also adds suffix index compression to reduce memory consumption. Using mixed Chinese and English short text test, compression rate is 3.4%.But Lucene is implemented in Java, where a version of Cplusplus is implemented with some minor improvements.

This project consists of two parts, reader and writer.

Research Platform

linux

Programming Language

C/C++.

Research Topic

C++ library for FST inverted index structures

Build and Run

Build FST:

you can put this project into a C++ program, then use CMAKE to build this project

demo

Please refer to the Search-prompt-service

About

A universal C++ library for FST inverted index structures

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published