Skip to content Skip to main navigation Skip to footer

Search: bsapirest%5C.properties

26 results

SID: Speaker Identification: Results Enhancement

…(Least Recently Used cache) Configurable: via server.audio_source_profiles_cache_size in phxspe.properties. The value represents the number of profiles that can be stored in the cache (use to turn off) Default Value: 64 profiles Each profile in the SPE is loaded from disk into memory only once (until the cache capacity is reached) and then it is stored in the cache. If the…

Understand SPE workers configuration

Worker is a working thread performing the actual files- or realtime streams processing in Speech Engine. This article helps to understand the Speech Engine workers and provides information how to configure workers for optimal performance and server utilization. Starting from SPE 3.51, new defaults in settings/phxspe.properties make SPE to configure workers automatically according to local conditions (physical CPU cores, configured…

Understand SPE database

…kept in the database at all. Supported databases SPE supports SQLite and MariaDB 10.x (SPE 3.46+) MySQL 5.x (SPE up to 3.45) database engine. The database engine is configured in phxspe.properties SPE configuration file – see the Database section of SPE configuration file article for more details. SQLite SQLite is the out-of-the-box SPE default database type. By its nature, SQLite…

Q: Which authentication options are allowed by the server and how does it work?

…If server responds with error 405, server doesn’t support authorization by sessions and it is necessary to use basic authorization. Authorization by session – Authorization by session is done by adding parameter “X-SessionID“ into HTTP header to each query. Basic Authorization is done by HTTP standard in header of each query for the server. You can set this in ./settings/phxspe.properties

Sizing of the computing units for speech technologies

…technologies setup. If we assume that the whole machine is dedicated as a “speech computing unit” then, in general, we can calculate it as follows: file: phxspe.properties server.n_workers = <#_of_core> file: technologies.xml (no. of threads per technology, can be also set up by the phxadmin tool) SQE: <#_of_cores>/4 VAD: <#_of_cores>/2 other technologies: <#_of_cores> RAM: 8 cores = 32 GB 16…

Releases and Changelogs (SPE)

…Added utterance_length to SID/SID4 voiceprint results New: Added /output_stream and audio file player (/utils/player/output_stream) endpoints New: Added 5th generation of AR_XL (Arabic Levantine) (Beta version) of STT, KWS and PHNREC (combines both North- and South Levantine, hence the custom code AR_XL) Changed: Changed endpoints, results and properties using the term ‘stream‘ to use ‘input_stream‘ check the SPE REST API documentation…

Understand SPE home directory

SPE home directory is an analogy of user home directory in operating systems (e.g. /home/ in *nix, /Users/ in macOS or Windows, etc.) – it is the place where SPE stores data for users configured in SPE. Default SPE home directory location is {SPE_installation_directory}/home/. This location can be changed using server.user.home setting in phxspe.properties SPE configuration file. Changing the home…

Key Features (PSP)

…audio conversion tools. Tested with sox or ffmpeg. For the configuration of this functionality, see [SPE]/settings/phxspe.properties Note: You should be aware that audio format conversion (e.g., if the original audio format is highly compressed) can decrease the accuracy of speech technologies. Integration Possibilities Phonexia Speech Platform can be integrated into a partner’s application using the Speech Engine component (REST API)….

Understand SPE audio converter

…phxspe.exe. FFmpeg: https://ffmpeg.org/download.html SoX: https://sourceforge.net/projects/sox/files/sox/ (The FFmpeg is a bit ‘cleaner’ choice on Windows, since it’s available also as single-executable static build, unlike SoX whose 10+ DLLs clutter up the SPE directory) SPE configuration As a next step it’s necessary to enable and set up the converter in SPE configuration file (in settings/phxspe.properties). Set the audio_converter.enabled to true to enable…

Understand SPE metafiles

…for storing SID speaker model metadata – textual properties like name, date of birth, etc. are stored as JSON file (note: the structure and meaning is defined and understood by Browser itself, not by SPE), speaker photo and any other files attached to the speaker model are stored as separate files. Another example would be the information about content of…

SPE and Browser installation: standalone SPE

…Download the latest version from https://www.gyan.dev/ffmpeg/builds/ffmpeg-release-essentials.zip After unzipping the package, move the ffmpeg.exe executable to the /SPE/ directory. You can delete the rest of the contents of the ffmpeg-release-essentials package. They will not be needed. FMMPEG on Linux run the following commands sudo apt update && sudo apt upgrade sudo apt install ffmpeg Open the /SPE/settings/phxspe.properties file with notepad and…