[TOC]
A multipurpose library set.
It provides both class-based libraries for C++ and function-based libraries for C.
A JSON parser library.
It is a pull-style parser based on RFC 8259, plus an extension for supporting UNIX shell style comments.
A Viterbi search library.
The Viterbi search is a dynamic programming algorithm. It finds the most likely path in the lattice consisting of the observed event nodes.
This library also provides the A* search algorithm for the lattice created by the Viterbi search.
An application setting library.
It enables to acquire and save the settings in a common, platform-independent way.
The storage of the settings is platform-specific: the Windows registry on Windows, home directory dot files on UNIX, etc.
A text library.
The utility for text processing.
This library provides the following features:
- A string encoding converter.
- A grapheme splitter conforming to Unicode 14.0.0.
- Detail description
A trie library.
The trie is an associative data structure. Given a key, it returns the corresponding value in a constant time.
The trie is also able to perform a prefix search. It has a method to enumerate the values with the same prefix.
- Visual Studio 2022
- Boost C++ libraries 1.86.0
- Doxygen 1.12.0
- Graphviz
- WiX toolset 5.0.1
- Python 3.9 or Python 3.10
- mypy
- Black
- isort
If you build the source cloned from the GitHub repository, the following is necessary in addition to the above tools.
Download the .zip archive file for Windows from the website www.tetengo.org.
Execute setup.exe
in the archive..
Clone the source files from GitHub:
> git clone --recurse-submodules https://github.com/tetengo/tetengo.cpp.git
Open the file tetengo.sln
in the work tree.
Execute the menu command [Build]-[Build Solution] in Visual Studio.
Open the file tetengo.setup.sln
in the work tree, and execute the menu
command [Build]-[Build Solution] in Visual Studio.
setup.exe
and tetengo.msi
will be created under the bin.setup
folder in
the work tree.
To generate the documents, open a command prompt, and execute the command
doxygen
in the top directory.
Doxygen will output the documents into the directory doc
.
> doxygen
- Clang 11, Clang 14, GCC 10 or GCC 12
- Boost C++ libraries 1.86.0
- Doxygen 1.12.0
- Graphviz
- include-what-you-use 0.15 or include-what-you-use 0.17
- Clang Format 11
- Dos2Unix
- Python 3.9 or Python 3.10
- mypy
- Black
- isort
If you build the source cloned from the GitHub repository, the followings are necessary in addition to the above tools.
Downloading the source files from www.tetengo.org
Download the .tar.bz2 archive file for Linux from the website www.tetengo.org.
Expand the archive into your preferred path.
$ tar -xf tetengo-X.Y.Z.tar.bz2
Clone the source files from GitHub:
$ git clone --recurse-submodules https://github.com/tetengo/tetengo.cpp.git
Run the script bootstrap.sh
in the top directory to generate the script
configure
.
$ ./bootstrap.sh
Configure, build and install tetengo by the following commands:
$ ./configure
$ make
$ sudo make install
By default, tetengo will be installed in the directory /usr/local
.
To change the directory where to install tetengo, specify the option --prefix
to the script configure
.
To generate the documents, execute the command make doc
in the top directory:
$ make doc
Copyright (C) 2019-2024 kaoru https://www.tetengo.org/
This product is released under the MIT license. See the COPYING file for details.