mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-10-30 23:24:18 +00:00
update to current unimrcp https://unimrcp.googlecode.com/svn/trunk@1014
Author: achaloyan <achaloyan@f001bc3a-424a-0410-80a0-a715b8f413a8>
Date: Fri Jun 26 18:17:10 2009 +0000
Implemented START-INPUT-TIMERS
git-svn-id: https://unimrcp.googlecode.com/svn/trunk@1014 f001bc3a-424a-0410-80a0-a715b8f413a8
Author: achaloyan <achaloyan@f001bc3a-424a-0410-80a0-a715b8f413a8>
Date: Fri Jun 26 16:56:38 2009 +0000
Fixed grammar file creation (the existing file must be truncated/overridden)
git-svn-id: https://unimrcp.googlecode.com/svn/trunk@1013 f001bc3a-424a-0410-80a0-a715b8f413a8
Author: achaloyan <achaloyan@f001bc3a-424a-0410-80a0-a715b8f413a8>
Date: Fri Jun 26 15:31:47 2009 +0000
Added GET-RESULT processing, properly set completion causes in the responses to DEFINE-GRAMMAR and RECOGNIZE requests
git-svn-id: https://unimrcp.googlecode.com/svn/trunk@1012 f001bc3a-424a-0410-80a0-a715b8f413a8
Author: achaloyan <achaloyan@f001bc3a-424a-0410-80a0-a715b8f413a8>
Date: Thu Jun 25 19:21:34 2009 +0000
Implemented grammar load/unload (DEFINE-GRAMMAR requests), implemented recognition complete timeout, introduced properties (to be loaded from config file)
git-svn-id: https://unimrcp.googlecode.com/svn/trunk@1011 f001bc3a-424a-0410-80a0-a715b8f413a8
Author: achaloyan <achaloyan@f001bc3a-424a-0410-80a0-a715b8f413a8>
Date: Wed Jun 24 14:31:37 2009 +0000
Added the NOTICE corresponding to the section 4 d of the Apache License, Version 2.0
git-svn-id: https://unimrcp.googlecode.com/svn/trunk@1010 f001bc3a-424a-0410-80a0-a715b8f413a8
Author: achaloyan <achaloyan@f001bc3a-424a-0410-80a0-a715b8f413a8>
Date: Tue Jun 23 21:04:44 2009 +0000
Added identifier@pocketsphinx traces
git-svn-id: https://unimrcp.googlecode.com/svn/trunk@1009 f001bc3a-424a-0410-80a0-a715b8f413a8
Author: achaloyan <achaloyan@f001bc3a-424a-0410-80a0-a715b8f413a8>
Date: Tue Jun 23 21:03:02 2009 +0000
Added session identifier to engine channel (to be used for traces)
git-svn-id: https://unimrcp.googlecode.com/svn/trunk@1008 f001bc3a-424a-0410-80a0-a715b8f413a8
Author: achaloyan <achaloyan@f001bc3a-424a-0410-80a0-a715b8f413a8>
Date: Tue Jun 23 19:58:48 2009 +0000
Properly handled race between STOP request and RECOGNITION-COMPLETE event, other enhancements
git-svn-id: https://unimrcp.googlecode.com/svn/trunk@1007 f001bc3a-424a-0410-80a0-a715b8f413a8
Author: achaloyan <achaloyan@f001bc3a-424a-0410-80a0-a715b8f413a8>
Date: Tue Jun 23 19:55:57 2009 +0000
Added mpf_activity_detector_reset()
git-svn-id: https://unimrcp.googlecode.com/svn/trunk@1006 f001bc3a-424a-0410-80a0-a715b8f413a8
Author: achaloyan <achaloyan@f001bc3a-424a-0410-80a0-a715b8f413a8>
Date: Tue Jun 23 16:41:51 2009 +0000
Added 32kHz and 48kHz sampling rates (still no resampling support in MPF, also make sure RTP packet length <= 1500 bytes)
git-svn-id: https://unimrcp.googlecode.com/svn/trunk@1005 f001bc3a-424a-0410-80a0-a715b8f413a8
Author: achaloyan <achaloyan@f001bc3a-424a-0410-80a0-a715b8f413a8>
Date: Mon Jun 22 20:13:29 2009 +0000
Added flite m4 configure stuff
git-svn-id: https://unimrcp.googlecode.com/svn/trunk@1004 f001bc3a-424a-0410-80a0-a715b8f413a8
Author: achaloyan <achaloyan@f001bc3a-424a-0410-80a0-a715b8f413a8>
Date: Mon Jun 22 19:31:32 2009 +0000
Added pocketsphinx.vcproj and flite.vcproj project files into unimrcp.sln (disabled by default)
git-svn-id: https://unimrcp.googlecode.com/svn/trunk@1003 f001bc3a-424a-0410-80a0-a715b8f413a8
Author: achaloyan <achaloyan@f001bc3a-424a-0410-80a0-a715b8f413a8>
Date: Mon Jun 22 19:26:38 2009 +0000
Integrated utterance detection stuff (start-of-input, end-of-input), triggered partial and final recognition results
git-svn-id: https://unimrcp.googlecode.com/svn/trunk@1002 f001bc3a-424a-0410-80a0-a715b8f413a8
Author: garmt.noname@gmail.com <garmt.noname@gmail.com@f001bc3a-424a-0410-80a0-a715b8f413a8>
Date: Sun Jun 21 22:12:37 2009 +0000
First implementation of flite plugin - voice awb only
git-svn-id: https://unimrcp.googlecode.com/svn/trunk@1001 f001bc3a-424a-0410-80a0-a715b8f413a8
Author: achaloyan <achaloyan@f001bc3a-424a-0410-80a0-a715b8f413a8>
Date: Sun Jun 21 06:23:58 2009 +0000
Added framework for the development of flite plugin
git-svn-id: https://unimrcp.googlecode.com/svn/trunk@1000 f001bc3a-424a-0410-80a0-a715b8f413a8
Author: achaloyan <achaloyan@f001bc3a-424a-0410-80a0-a715b8f413a8>
Date: Sat Jun 20 19:52:22 2009 +0000
Added missing include paths and libs required for pocketsphinx
git-svn-id: https://unimrcp.googlecode.com/svn/trunk@999 f001bc3a-424a-0410-80a0-a715b8f413a8
Author: achaloyan <achaloyan@f001bc3a-424a-0410-80a0-a715b8f413a8>
Date: Sat Jun 20 17:32:37 2009 +0000
Started actual implementation of pocketsphinx plugin
git-svn-id: https://unimrcp.googlecode.com/svn/trunk@998 f001bc3a-424a-0410-80a0-a715b8f413a8
Author: achaloyan <achaloyan@f001bc3a-424a-0410-80a0-a715b8f413a8>
Date: Sat Jun 20 13:55:41 2009 +0000
Added acmacros for pocketsphinx libs (src and installed dirs are suppored), cleaned up ./configure related stuff a bit
git-svn-id: https://unimrcp.googlecode.com/svn/trunk@997 f001bc3a-424a-0410-80a0-a715b8f413a8
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@13987 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
1 parent
fd8106afcf
commit
ba1aee8e3c
25 files changed
+1999
-85
No files matched your search
@@ -0,0 +1,48 @@
|
||||
dnl UNIMRCP_CHECK_FLITE
|
||||
|
||||
AC_DEFUN([UNIMRCP_CHECK_FLITE],
|
||||
[
|
||||
AC_MSG_NOTICE([Flite library configuration])
|
||||
|
||||
AC_MSG_CHECKING([for Flite])
|
||||
AC_ARG_WITH(flite,
|
||||
[ --with-flite=PATH prefix for installed Flite or
|
||||
path to Flite build tree],
|
||||
[flite_path=$withval],
|
||||
[flite_path="/usr/local"]
|
||||
)
|
||||
|
||||
found_flite="no"
|
||||
|
||||
dnl TO BE DONE
|
||||
flite_libdir="build/libs"
|
||||
for dir in $flite_path ; do
|
||||
cd $dir && flite_dir=`pwd` && cd - > /dev/null
|
||||
if test -d "$dir/$flite_libdir"; then
|
||||
found_flite="yes"
|
||||
UNIMRCP_FLITE_INCLUDES="-I$flite_dir/include"
|
||||
UNIMRCP_FLITE_LIBS="$dir/$flite_libdir/libflite_cmu_us_awb.a \
|
||||
$dir/$flite_libdir/libflite_cmu_us_kal.a \
|
||||
$dir/$flite_libdir/libflite_cmu_us_rms.a \
|
||||
$dir/$flite_libdir/libflite_cmu_us_slt.a \
|
||||
$dir/$flite_libdir/libflite_cmulex.a \
|
||||
$dir/$flite_libdir/libflite_usenglish.a \
|
||||
$dir/$flite_libdir/libflite.a"
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if test x_$found_flite != x_yes; then
|
||||
AC_MSG_ERROR(Cannot find Flite - looked for srcdir:$flite_srcdir in $flite_path)
|
||||
else
|
||||
AC_MSG_RESULT([$found_flite])
|
||||
|
||||
case "$host" in
|
||||
*darwin*)
|
||||
UNIMRCP_FLITE_LIBS="$UNIMRCP_FLITE_LIBS -framework CoreFoundation -framework SystemConfiguration" ;;
|
||||
esac
|
||||
|
||||
AC_SUBST(UNIMRCP_FLITE_INCLUDES)
|
||||
AC_SUBST(UNIMRCP_FLITE_LIBS)
|
||||
fi
|
||||
])
|
||||
@@ -0,0 +1,50 @@
|
||||
dnl UNIMRCP_CHECK_POCKETSPHINX
|
||||
|
||||
AC_DEFUN([UNIMRCP_CHECK_POCKETSPHINX],
|
||||
[
|
||||
AC_MSG_NOTICE([PocketSphinx library configuration])
|
||||
|
||||
AC_MSG_CHECKING([for PocketSphinx])
|
||||
AC_ARG_WITH(pocketsphinx,
|
||||
[ --with-pocketsphinx=PATH prefix for installed PocketSphinx or
|
||||
path to PocketSphinx build tree],
|
||||
[pocketsphinx_path=$withval],
|
||||
[pocketsphinx_path="/usr/local"]
|
||||
)
|
||||
|
||||
found_pocketsphinx="no"
|
||||
pocketsphinx_config="lib/pkgconfig/pocketsphinx.pc"
|
||||
pocketsphinx_srcdir="src"
|
||||
for dir in $pocketsphinx_path ; do
|
||||
cd $dir && pocketsphinx_dir=`pwd` && cd - > /dev/null
|
||||
if test -f "$dir/$pocketsphinx_config"; then
|
||||
found_pocketsphinx="yes"
|
||||
UNIMRCP_POCKETSPHINX_INCLUDES="`pkg-config --cflags $dir/$pocketsphinx_config`"
|
||||
UNIMRCP_POCKETSPHINX_LIBS="`pkg-config --libs $dir/$pocketsphinx_config`"
|
||||
pocketsphinx_version="`pkg-config --modversion $dir/$pocketsphinx_config`"
|
||||
break
|
||||
fi
|
||||
if test -d "$dir/$pocketsphinx_srcdir"; then
|
||||
found_pocketsphinx="yes"
|
||||
UNIMRCP_POCKETSPHINX_INCLUDES="-I$pocketsphinx_dir/include"
|
||||
UNIMRCP_POCKETSPHINX_LIBS="$pocketsphinx_dir/$pocketsphinx_srcdir/libpocketsphinx/libpocketsphinx.la"
|
||||
pocketsphinx_version="`pkg-config --modversion $pocketsphinx_dir/pocketsphinx.pc`"
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if test x_$found_pocketsphinx != x_yes; then
|
||||
AC_MSG_ERROR(Cannot find PocketSphinx - looked for pocketsphinx-config:$pocketsphinx_config and srcdir:$pocketsphinx_srcdir in $pocketsphinx_path)
|
||||
else
|
||||
AC_MSG_RESULT([$found_pocketsphinx])
|
||||
AC_MSG_RESULT([$pocketsphinx_version])
|
||||
|
||||
case "$host" in
|
||||
*darwin*)
|
||||
UNIMRCP_POCKETSPHINX_LIBS="$UNIMRCP_POCKETSPHINX_LIBS -framework CoreFoundation -framework SystemConfiguration" ;;
|
||||
esac
|
||||
|
||||
AC_SUBST(UNIMRCP_POCKETSPHINX_INCLUDES)
|
||||
AC_SUBST(UNIMRCP_POCKETSPHINX_LIBS)
|
||||
fi
|
||||
])
|
||||
@@ -12,6 +12,7 @@ AC_DEFUN([UNIMRCP_CHECK_SOFIA],
|
||||
[sofia_path="/usr/local"]
|
||||
)
|
||||
|
||||
found_sofia="no"
|
||||
sofiaconfig="lib/pkgconfig/sofia-sip-ua.pc"
|
||||
sofiasrcdir="libsofia-sip-ua"
|
||||
for dir in $sofia_path ; do
|
||||
|
||||
@@ -0,0 +1,50 @@
|
||||
dnl UNIMRCP_CHECK_SPHINXBASE
|
||||
|
||||
AC_DEFUN([UNIMRCP_CHECK_SPHINXBASE],
|
||||
[
|
||||
AC_MSG_NOTICE([SphinxBase library configuration])
|
||||
|
||||
AC_MSG_CHECKING([for SphinxBase])
|
||||
AC_ARG_WITH(sphinxbase,
|
||||
[ --with-sphinxbase=PATH prefix for installed SphinxBase or
|
||||
path to SphinxBase build tree],
|
||||
[sphinxbase_path=$withval],
|
||||
[sphinxbase_path="/usr/local"]
|
||||
)
|
||||
|
||||
found_sphinxbase="no"
|
||||
sphinxbase_config="lib/pkgconfig/sphinxbase.pc"
|
||||
sphinxbase_srcdir="src"
|
||||
for dir in $sphinxbase_path ; do
|
||||
cd $dir && sphinxbase_dir=`pwd` && cd - > /dev/null
|
||||
if test -f "$dir/$sphinxbase_config"; then
|
||||
found_sphinxbase="yes"
|
||||
UNIMRCP_SPHINXBASE_INCLUDES="`pkg-config --cflags $dir/$sphinxbase_config`"
|
||||
UNIMRCP_SPHINXBASE_LIBS="`pkg-config --libs $dir/$sphinxbase_config`"
|
||||
sphinxbase_version="`pkg-config --modversion $dir/$sphinxbase_config`"
|
||||
break
|
||||
fi
|
||||
if test -d "$dir/$sphinxbase_srcdir"; then
|
||||
found_sphinxbase="yes"
|
||||
UNIMRCP_SPHINXBASE_INCLUDES="-I$sphinxbase_dir/include"
|
||||
UNIMRCP_SPHINXBASE_LIBS="$sphinxbase_dir/$sphinxbase_srcdir/libsphinxbase/libsphinxbase.la $sphinxbase_dir/$sphinxbase_srcdir/libsphinxad/libsphinxad.la"
|
||||
sphinxbase_version="`pkg-config --modversion $sphinxbase_dir/sphinxbase.pc`"
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if test x_$found_sphinxbase != x_yes; then
|
||||
AC_MSG_ERROR(Cannot find SphinxBase - looked for sphinxbase-config:$sphinxbase_config and srcdir:$sphinxbase_srcdir in $sphinxbase_path)
|
||||
else
|
||||
AC_MSG_RESULT([$found_sphinxbase])
|
||||
AC_MSG_RESULT([$sphinxbase_version])
|
||||
|
||||
case "$host" in
|
||||
*darwin*)
|
||||
UNIMRCP_SPHINXBASE_LIBS="$UNIMRCP_SPHINXBASE_LIBS -framework CoreFoundation -framework SystemConfiguration" ;;
|
||||
esac
|
||||
|
||||
AC_SUBST(UNIMRCP_SPHINXBASE_INCLUDES)
|
||||
AC_SUBST(UNIMRCP_SPHINXBASE_LIBS)
|
||||
fi
|
||||
])
|
||||
@@ -25,6 +25,4 @@ AC_DEFUN([UNIMRCP_CHECK_SWIFT],
|
||||
else
|
||||
AC_MSG_WARN([not found - looked for $swift_path])
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL([CEPSTRAL_PLUGIN], [test x_$found_swift = x_yes])
|
||||
])
|
||||
@@ -0,0 +1,22 @@
|
||||
<?xml version="1.0" encoding="windows-1251"?>
|
||||
<VisualStudioPropertySheet
|
||||
ProjectType="Visual C++"
|
||||
Version="8.00"
|
||||
Name="flite"
|
||||
InheritedPropertySheets=".\unibase.vsprops"
|
||||
>
|
||||
<Tool
|
||||
Name="VCCLCompilerTool"
|
||||
AdditionalIncludeDirectories=""$(FliteDir)\include""
|
||||
PreprocessorDefinitions="APT_LIB_EXPORT"
|
||||
/>
|
||||
<Tool
|
||||
Name="VCLinkerTool"
|
||||
AdditionalDependencies="flite.lib"
|
||||
AdditionalLibraryDirectories=""$(FliteDir)\$(ConfigurationName)""
|
||||
/>
|
||||
<UserMacro
|
||||
Name="FliteDir"
|
||||
Value="$(LibRootDir)libs\flite"
|
||||
/>
|
||||
</VisualStudioPropertySheet>
|
||||
Reference in new issue
Block a user