Giter Site home page Giter Site logo

mayamatakeshi / julius_server Goto Github PK

View Code? Open in Web Editor NEW
1.0 2.0 1.0 784 KB

This is a forking server for julius speech recognition engine. It waits on a TCP port for clients and forks processes to handle them.

Makefile 5.24% C 79.43% JavaScript 10.57% Shell 4.76%

julius_server's Issues

Implement speech timeout

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._

https://www.sp.nitech.ac.jp/~ri/julius-dev/doxygen/julius/4.0/ja/callback_8h.html#06fc87d81c62e9abb8790b6e5713c55bf241f0a78f37c906f8836b02f6bcd4a5

Implement simultaneous clients limit

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.