hark-lib/PyHARK
This page is being updated to include information about the upcoming v.2.0 release. Please note that the v.2.0 page may be inaccessible at times as it is under construction.
What is this
The HARK acoustic library was developed to make HARK easier to use in various of situations, and consists of a newly refactored core library in C++ and bindings for various languages.
Development language support status
- C++ : Officially supported. Can be used by calling the core library directly.
Notes:
Up until v.1.x, all functions were concentrated in a single shared library file, libhark-lib.so, but from v.2.0 onwards, libhark-lib.so contains only the middleware part, and individual functions are split into packages such as libhark-lib-core.so and libhark-lib-gpu.so. This makes it easier for users to add and create new packages. - Python : Officially supported. Python bindings are provided and can used by simply calling import hark.
Notes:
The package of C++ core libraries with Python bindings is called PyHARK. Note, however, that this is a generic term across multiple packages, not the actual package name. - C# : There is an implementation, but we don’t support. Please develop at your own risk by referring to the sample. Sample C# bindings are provided for development in the VisualStudio environment.
- Obj-C/C++ (Up to v.1.x) : There is an implementation, but we don’t support. Please develop at your own risk referring to the sample. Sample Obj-C bindings are provided for development in the Xcode environment.
Notes:
We stopped providing Obj-C Binding in v.1.x. From v.2.0 onwards, we have switched to providing Swift Binding. - Swift (v.2.0 or later) : There is an implementation, but we don’t support. Please develop at your own risk referring to the sample. Sample Swift bindings are provided for development in the Xcode environment.
Notes:
We stopped providing Obj-C Binding in v.1.x. From v.2.0 onwards, we have switched to providing Swift Binding.
Bug reports are welcome, but please note that bugs related to bindings in unsupported languages will be given a lower priority to be fixed.
Quick start guide
- v.2.x (v.2.0.0 or later)
- hark-lib quick start guide.
- v.1.x (v.1.0.0 to v1.1.1)
- hark-lib quick start guide.
Notes:
This document is currently under preparation. Please refer to the 21st HARK Tutorial document currently available for details on how to use it.
-
v.2.0 is currently in preparation for the 23rd HARK Tutorial date. (TBD)
Documents
- v.2.x (v.2.0.0 or later)
- hark-lib document (v.2.x).
- v.1.x (v.1.0.0 to v1.1.1)
- hark-lib document (v.1.x).
Notes:
This document is currently under preparation. Please refer to the 21st HARK Tutorial document currently available for details on how to use it.
-
v.2.0 is currently in preparation for the 23rd HARK Tutorial date. (TBD)
Installation Instructions
Installation from Pre-compiled Binaries
- v.2.x (v.2.0.0 or later)
- hark-lib v.2.x (Package Installation).
- v.1.x (v.1.0.0 to v1.1.1)
-
v.2.0 is currently in preparation for the 23rd HARK Tutorial date. (TBD)
Important change: Until v.1.x, Python Bindings were provided as a debian package for ubuntu environments, but from v.2.0 onwards, they will be provided as a wheel package so that pip install is possible.
Installation from Source Compilation
- v.2.x (v.2.0.0 or later)
- hark-lib v.2.x (Source Compilation).
- v.1.x (v.1.0.0 to v1.1.1)
-
v.2.0 is currently in preparation for the 23rd HARK Tutorial date. (TBD)
Downloads
Samples
- HARK Automatic Speech Recognition Pack (HARK音声認識セット)
Source Code
- Latest version
- http://archive.hark.jp/harkrepos/dists/jammy/non-free/source/ for Ubuntu 22.04 (jammy).
- Old versions
- v1.0.0 (Dec. 15, 2022)
- v0.9.1 (Dec. 05, 2022)
- v0.9.0 (Nov. 23, 2022)
-
Versions after v1.0.0 (Jan. 31, 2023) can be obtained from the apt repository.
-
This is the version before the files necessary to create a deb package are maintained. Unless you have a special reason, please download the source code from the apt repository above.