Skip to content

A C++ runtime engine for connecting data processing modules (specifically NLP modules)

License

Notifications You must be signed in to change notification settings

raytheonbbn/Godec

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

81 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Godec

Godec is a C++-based framework for arbitrarily connecting natural language processing components (or any other data processing code really) into a graph specifiedb by a simple JSON file. This graph can be run as a standalone executable to facilitate easy integration into an offline experiment infrastructure, or taken as-is to be embedded into an end-user application, with no modification necessary.

Godec exhibits many traits desirable for such a framework:

  • It is modular, allowing the clean mixing of vastly different modules into one graph (imagine OpenCV code feeding into a Kaldi recognizer followed by a Tensorflow classifier), without having to merge the code bases.
  • It is freely extensible, i.e. custom components can quickly be added, as well as custom messaging types for specfic applications.
  • Godec is multithreaded. Every component runs in a separate thread, natively allowing for multi-core use.
  • However, Godec runs in a single process. This allows for immediate internal data passing between component with no overhead.
  • Godec processing runs are (subject to contraints) perfectly repeatable from run to run, i.e. they produce identical output results, something not common for massively asynchronous frameworks. It makes sure that an offline experiment result will be faithfully reproduced in the live application (also often not a given).
  • Godec is low-latency, i.e. it is perfectly suitable for live stream processing.
  • Godec currently is compiled and tested on Linux, Android, Windows and Raspberry Pi.

Of interest might be BBN's "Sage" framework that uses Godec, and a paper describing applications that run on Godec.


About

A C++ runtime engine for connecting data processing modules (specifically NLP modules)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •