mayamatakeshi / julius_server Goto Github PK
View Code? Open in Web Editor NEWThis is a forking server for julius speech recognition engine. It waits on a TCP port for clients and forks processes to handle them.
This is a forking server for julius speech recognition engine. It waits on a TCP port for clients and forks processes to handle them.
We might add a msg like '+POLL'.
This is to ensure the other end is still alive so that we don't keep the app alive preventing new forks to happen (because of MAX_CONCURRENT_SESSIONS).
First we need to specify a message to pass this value.
It could be be the first line in the TCP socket like this:
+RECOGNIZE:timeout=X
(we might add other parameters like language if we decide it to make a multi language daemon).
This might be doable by using
_CALLBACK_EVENT_SEGMENT_BEGIN | On short-pause segmentation and decoder-based VAD mode, this callback will be called at the beginning of each segment, segmented by short pauses.
CALLBACK_EVENT_SEGMENT_END | On short-pause segmentation and decoder-based VAD mode, this callback will be called at the end of each segment, segmented by short pauses._
We should count calls to fork and SIGCHLD and prevent forking if there are more than XX operations already in progress.
If limit is reached, we should close the connection immediately so that some load balancer like haproxy/nginx can try another server.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.