Skip to content Skip to main navigation Skip to footer

Search: bsapirest%5C.properties

26 results

FAQs (PSP)

…play with “pure” daemon installation, then phxspe.properties file should exist in ./settings subdirectory. File phxspe.properties is created by phxadmin utility or can be created from ./data/phxspe.properties.default template file. Copy template file to ./settings directory Rename it to phxspe.properties Check for server.enable_authentication_token directive and setup it as needed. Restart phxspe Basic installation steps are described in ./doc/INSTALL.html document. in FAQ Phonexia…

Understand SPE directory structure

…database SQL scripts. data ├── phxspe.properties.default ├── init.d-phxspe.template ├── phxspe.service.template │ ├── benchmark └── database phxspe.properties.default Default phxspe.properties SPE configuration file init.d-phxspe.template Example SPE init.d script phxspe.service.template Example SPE systemd service unit file benchmark Default audio files for built-in benchmark functionality database Database SQL scripts for supported databases: SQLite, MariaDB and MySQL The phxspe.properties.default file is used by phxadmin tool…

Understand SPE configuration file

…is loaded during SPE startup, i.e. you need to restart SPE to apply any changes made in the file. (If for any reason you don’t run phxadmin after SPE installation, you can create the default configuration manually by copying data/phxspe.properties.template file to settings/phxspe.properties file.) NOTE: Phonexia Browser creates configuration file named phxspe.browser.properties if it’s configured to use Speech Engine in…

FAQs (Browser)

…change the following line in “phxspe.properties” to enable background conversion: audio_converter.enabled = false # change it to ‘true’ Please check if the conversion tools configured below this line in phxspe.properties are configured properly. Here is an example of configuration for ffmpg: # Set converter command # %1 is for input file # %2 is for output file ffmpeg example: audio_converter.command…

Understand SPE executable files

…– Transfer data from REST SERVER v2 to Speech Engine v3. Requires also v2-properties and v2-cwd parameters. v2-properties=<file> – Path to REST SERVER v2 bsapirest.properties configuration file v2-cwd=<path> – Path to REST SERVER v2 working directory. Usually a path to REST SERVER v2 bin directory. phxadmin2 phxadmin2 is automation- and scripting-friendly command line based SPE administration utility for user management,…

Q: How to fix the Error 1013: Unsupported: Server does not support authentication with token?

…would like to play with “pure” daemon installation, then phxspe.properties file should exist in ./settings subdirectory. File phxspe.properties is created by phxadmin utility or can be created from ./data/phxspe.properties.default template file. Copy template file to ./settings directory Rename it to phxspe.properties Check for server.enable_authentication_token directive and setup it as needed. Restart phxspe Basic installation steps are described in ./doc/INSTALL.html document….

Understand SPE configuration

Basic configuration SPE configuration by default is defined in the file {spe_root}/settings/phxspe.properties. This file is automatically created after running the phxadmin utility for the first time, usually used for initial configuration of the system. Otherwise it can be found in {spe_root}/data/phxspe.properties.template from which the actual configuration file may be populated and renamed manually. The format of the configuration file is…

Understand SPE administration and backup

…the system: SPE database – the technology models, SPE user accounts, etc. are stored here SPE configuration file (usually /settings/phxspe.properties) technologies configuration file (usually /settings/ technologies.xml, or see phxspe.properties for details) licensing file (license.dat, usually stored along to phxspe.exe, or see phxspe.properties for details) Optimally, Partner should backup also the following entire SPE directory [optional], with all subdirectories (/bsapi/, etc.)…

Q: How do I get results for a pending operation?

…Sec-WebSocket-Key. Authentication has to be a part of the header (HTTP basic or Session – according the server setup). Result of asynchronous operation will be send by the server by websocket client – client doesn’t have to ask the server repeatedly. Example of HTTP header: GET /pending/ec563083-3d9b-457d-a0ac-24b197bc222f HTTP/1.1 Host: server.example.com Upgrade: websocket Connection: Upgrade Sec-WebSocket-Key: x3JJHMbDL1EzLkh9GBhXDw== Sec-WebSocket-Version: 13 X-SessionID: 258f505c-a6fa-4c3f-8a87-b048874ac6aa…

Phonexia Speech Engine

…file to configure server and optionally database Optionally, run phxadmin –add-user in console to configure user account(s) to access the REST API (or use pre-configured user admin) Finally, run phxspe in console to start Speech Engine Now your SPE server is running and you can access the REST API via IP address and port set in properties file (settings/phxspe.properties). Details…

Q: How to fix Error 1007: Unsupported audio format?

…Open file settings\phxspe.properties using standard text editor. Then change the following line in “phxspe.properties” to enable background conversion: audio_converter.enabled = false # change it to ‘true’ Please check if the conversion tools configured below this line in phxspe.properties are configured properly. Here is an example of configuration for ffmpg: # Set converter command # %1 is for input file #…

LID: Terminology and adaptation

…tool which SPE configuration file to use Default Speech Engine configuration file is settings/phxspe.properties. However, when using Phonexia Browser in “SPE on localhost” mode (also known as “Embedded SPE”), the configuration file is settings/phxspe.browser.properties. (Make sure to use the right configuration file, otherwise you might register the language pack to different configuration and therefore it won’t be visible where you…

Understand SPE connectors for external TTS

…token, etc. – should be ideally done using separate configuration file, preferrably named connector.properties using .properties-like format (to be consistent with SPE configuration file format). If all is set and configured properly, SPE should log a successful TTS connector initialization: TTSSubsystem: Retrieving external connector info from ……./external/technologies/tts/acapela TTSSubsystem: External connector ‘acapela’ from ……./external/technologies/tts/acapela has been registered. If an error occurs,…

Get better support

…product executable file “properties” files (phxspe.properties from SPE is minimum) – usually in ./settings/ directory Issue data – supporting: Actual and active HW configuration (CPU, OS, RAM, storage status (free space)), you might use the following to get the information: The Benchmark function in SPE or Phonexia’s hw-gen for generating basic HW print Windows 64bit http://download.phonexia.com/utils/hw-gen64.exe GNU/Linux 64bit http://download.phonexia.com/utils/hw-gen64 System…

Speech Engine update

…original words list (which is copied in the root of your customized model) Also, before deleting the directory make sure that new SPE package contains the same set of technologies (i.e. subdirectories of bsapi directory) as your existing installation Unzip new SPE package (package must contain all needed technologies!) Compare the settings file template from new package (data/phxspe.properties.default) against your…