Skip to content

Commit

Permalink
Initial Unified version.
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeAkinobu committed Oct 3, 2015
1 parent 87546aa commit d49b55c
Show file tree
Hide file tree
Showing 163 changed files with 801,291 additions and 23 deletions.
106 changes: 106 additions & 0 deletions 00readme.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
======================================================================

�u����Ă݂悤 �����F���L�b�g v4.3.1�v

v3.0 2004/08/11
v3.1 2005/11/11
v3.2 2008/01/17
v4.0 2009/12/17
v4.1 2011/03/03
v4.2 2011/05/11
v.4.2.3 2013/06/30
v.4.3.1 2014/01/31
(OS������) 2015/10/03
======================================================================

�� �͂��߂� //////////////////////////////////////////////////////////

����́C�����F���i�f�B�N�e�[�V�����j�𓮍삳���Ă݂邽�߂̃t���[��
�L�b�g�ł��D�C�ӂ̓ǂݏグ�������i�Ώی�b��6����j���قڎ����Ԃ�
90%�ȏ�F�����邱�Ƃ��ł��܂��D

����‹��� Windows/Linux/MacOSX �ł��D

Julius �� Rev. 4.3.1 ��p���Ă��܂��D���̃o�[�W������ Julius ���g����
���ꍇ�́C�_�E�����[�h�����o�C�i���p�b�P�[�W��W�J���� bin/ ���̎��s
�t�@�C�����C���̃f�B���N�g���� bin/ �ȉ��ɏ㏑���R�s�[���Ă��������D

�ŐV����ڂ������e�ɂ‚��ẮC�ȉ��̃y�[�W�������������D

http://julius.osdn.jp/


�� ������� //////////////////////////////////////////////////////////

�� OS

[Windows��]
����m�F�� Windows 7/8 (64-bit) �ōs���܂����D
Windows 98, ME, 2000, XP, Vista ���ł����삷�邩������܂���D
DirectSound ���K�{�ł��D

[Linux��]
����m�F�� Redhat Enterprise Linux 5�ECentOS 6 (64-bit) ��
�s���܂����DUbuntu, Debian ���ł����삷�邩������܂���D

[MacOSX��]
����m�F�� MacOSX 10.6/10.7 (64-bit) �ōs���܂����D
PortAudio ���K�{�ł��D

�� �n�[�h�E�F�A�X�y�b�N

�����F Core/Xeon 3.0GHz�ȏ�C������2GB�CHDD 1GB �ȏ�
�Œ���FCore 1.5GHz�ȏ�C������1GB�CHDD 1GB �ȏ�

�����āC�T�E���h�f�o�C�X�C����у}�C�N���t�H�����K�v�ł��D

�Ȃ��C�v���Z�X�T�C�Y�� 150MB(GMM��)�C250MB(DNN��)���x�K�v�Ȃ̂ŁC
���肵�ē��삳���邽�߂ɂ� 512MB ���x�̋󂫃��������K�v�ł��D
DNN�ł̎��s�ɂ̓}���`�R�ACPU��CUDA�̓��삷��GPU�̎g�p�𐄏����܂��D


�� �i�[�t�@�C�� ///////////////////////////////////////////////////////

00readme.txt ���̕���

HOWTO.txt �F���V�X�e���̋N���Ɠ���
HOWTO-dnn.txt DNN�ɂ�鉹���F���̎��s
LICENSE.txt ���p������
TROUBLE.txt ���܂��F���ł��Ȃ��Ƃ���

main.jconf GMM�ŁEDNN�ł�Julius���ʐݒ�t�@�C��
am-gmm.jconf GMM�ł�Julius�������f���E���͐ݒ�t�@�C��
am-dnn.jconf DNN�ł�Julius�������f���E���͐ݒ�t�@�C��

dnnclient.conf DNN�ł̓����ʕϊ��ݒ�t�@�C��

run-win-gmm.bat GMM�ł̋N���o�b�`�t�@�C�� (Windows)
run-win-dnn.bat DNN�ł̋N���o�b�`�t�@�C�� (Windows)

run-linux-gmm.sh GMM�ł̋N���V�F���X�N���v�g (Linux)
run-linux-dnn.sh DNN�ł̋N���V�F���X�N���v�g (Linux)

run-osx-gmm.sh GMM�ł̋N���V�F���X�N���v�g (MacOSX)
run-osx-dnn.sh DNN�ł̋N���V�F���X�N���v�g (MacOSX)

bin/ Julius rev.4.3.1 ���s�o�C�i��
model/ �F���p�̓��{�ꉹ�����f���ƒP��3-gram���ꃂ�f��
doc/ Julius rev.4.3.1 �̕t���}�j���A���E�h�L�������g
src/ Julius rev.4.3.1 �\�[�X�A�[�J�C�u


�� �g�p���@ //////////////////////////////////////////////////////////

�g�p���@�ɂ‚��Ă� HOWTO.txt �������������D

�F�������܂������Ȃ��Ƃ��� TROUBLE.txt �����Q�Ɖ������D


�� ���̑� ///////////////////////////////////////////////////////////

������ꂽ��b��F������悤�ȏꍇ�́C�u���@�F���L�b�g�v���֗��ł��D
���@�F���L�b�g�ł́C���@����̌��Ō��߂�ꂽ���p�^�[���݂̂���F�����s
���܂��D�ڂ����� Julius �̃z�[���y�[�W���������������D

http://julius.osdn.jp/

142 changes: 142 additions & 0 deletions HOWTO-dnn.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
======================================================================

DNN�ɂ�鉹���F���̎��s

v.4.3.1(OS������) 2015/10/03
======================================================================

�� �͂��߂� //////////////////////////////////////////////////////////

DNN (Deep Neural Network)�ł̃V�X�e���ł͍����x�ȉ������f����
�g�p���܂��D���̂��ߏ������d���Ȃ�C�܂��菇�����G�ɂȂ�܂����C
GMM�ł����F�����x�����サ�܂��D

DNN�̌v�Z��CPU�̂݁C�܂���CPU+GPU�ɂ��s���܂��D������̏ꍇ��
DNN�ł͓��L�b�g�����ł͎��s�ł��܂���D���炩���߉��L�̗v�̂�
�K�v�ȃ\�t�g�E�F�A���V�X�e���ɃZ�b�g�A�b�v���Ă��������D
�Z�b�g�A�b�v�ɂ̓V�X�e���Ɋւ���m����Ǘ��҂̌������K�v�ł��D

�Ȃ��CGPU�ɂ‚��Ă�Windows�����Linux��ΏۂƂ��Ă��܂��D


�� �\���ƃZ�b�g�A�b�v ////////////////////////////////////////////////

GMM�łł�Julius�ɑ΂��ĉ����𒼐ړ��͂��ĔF�����s���܂����C
DNN�łł� (1)�����̓��́C(2)�����ʂւ̕ϊ��C(3)�����F����
���ꂼ��ʂ̃v���O�����Ŏ��s���܂�(������TCP/IP�o�R�Őڑ�
����܂�)�D���̂���(2)�ɂ‚��āCPython�Ƃ��̃��C�u����Numpy��
�p���Ď��s���邽�߁C�����̃Z�b�g�A�b�v���K�v�ł��D

Python�̓o�[�W����2�n��𐄏����܂�(�o�[�W����3�n��ł̌��؂�
�s���Ă��܂���)�DLinux��MacOSX�̏ꍇ�͊��ɃC���X�g�[�������
���邱�Ƃ�����܂����C�����łȂ��ꍇ�̓p�b�P�[�W�}�l�[�W����
�p���āC���邢�̓\�[�X�R�[�h���_�E�����[�h�E�R���p�C������
�C���X�g�[�����Ă��������DWindows�̏ꍇ�̓V�X�e���Ɋ܂܂��
���܂���̂ŁC�_�E�����[�h�̏�C���X�g�[�����Ă��������D

�Ȃ��C������Numpy���C�u�����ł́CWindows�ŏ��������ɒx���Ȃ�
���ۂ��m�F���Ă��܂��D������̃��C�u�����ł͉���ł��܂��D

[�Q�lURL]
Python:
http://www.python.org/
Python��������C�u����:
http://www.lfd.uci.edu/~gohlke/pythonlibs/


�� �N�� //////////////////////////////////////////////////////////////

DNN�ł� run-win-dnn.bat (Windows)�C run-(linux|osx)-dnn.sh (Linux/
MacOSX)�����s���邱�ƂŋN�����܂��DLinux�EMacOSX�ł�GUI�‹��ŋN��
���ĉ������D

�����̒��ł́C3�‚̃v���O���������ɋN������悤�ɂȂ��Ă��܂��D
�܂�Julius���N�����āC���΂炭�����Python�����adintool���ʂ�
�E�B���h�E�ŋN�����܂��D�������͂ɂ‚��Ă�adintool�̃E�B���h�E�ɁC
�����F�����ʂ�Julius�̃E�B���h�E�ɕ\������܂��D

Linux�łł�Julius���o�b�N�O���E���h�v���Z�X�Ƃ��ē��삵�Ă��܂��D
�܂�ɏI�������Ɏc���Ă��܂����Ƃ�����܂��̂ŁC���̏ꍇ�͎蓮��
�I�������ĉ������D


�� GPU�̎g�p /////////////////////////////////////////////////////////

Python�ɂ������ʂ̌v�Z�́C�����ݒ�ł�CPU�݂̂ōs���܂����C
GPU��p���č��������邱�Ƃ��ł��܂��D

���̏ꍇ�́CNVIDIA CUDA�ɑΉ������O���t�B�b�N�J�[�h��GPGPU
�J�[�h���K�v�ł��D�܂��CCUDA�‹��ɉ�����cudamat���C�u������
�Z�b�g�A�b�v���܂�(����ɂ͊J���‹����K�v�ł�)�D

�ȉ��ɃZ�b�g�A�b�v�菇�̊T���������܂��D��Ƃɓ������ẮC
�\�t�g�E�F�A�̐����C����cudamat�̐������悭�ǂ�ł��������D
�Ȃ��CGPU�̎g�p�ɂ‚��Ă�Windows�����Linux���Ώۂł��D

(i) CUDA�Ecudamat�̃C���X�g�[��

Windows�̏ꍇ�́Ccudamat���r���h���邽�߂ɁCMicrosoft Visual
Studio 2008���K�v�ł��D���炩���߃Z�b�g�A�b�v���Ă��������D

OS��v���b�g�t�H�[���ɑΉ�����CUDA�p�b�P�[�W��NVIDIA��Web�T�C�g
����_�E�����[�h���ăC���X�g�[�����Ă��������D���̍ہCWindows
�ł�Visual Studio�‹�����CUDA���W���[�����Z�b�g�A�b�v����܂��D

cudamat�̃p�b�P�[�W���_�E�����[�h���āC�p�b�P�[�W���̐�����
�]���ă��C�u�������r���h���Ă��������D�������ꂽ���C�u������
�t�@�C��(Windows�Ȃ� libcudamat.dll�CLinux�ł� libcudamat.so)��
cudamat.py ����� rnd_multipliers_32bit.txt �t�@�C���ƂƂ���
�f�B�N�e�[�V�����L�b�g�� bin �f�B���N�g���ɃR�s�[���܂��D

[�Q�lURL]
NVIDIA CUDA ZONE:
https://developer.nvidia.com/category/zone/cuda-zone
cudamat:
https://code.google.com/p/cudamat/
cudamat with Windows support:
https://github.com/surban/cudamat

(ii) GPU�̗��p�ݒ�

Linux�ł́CCUDA���C�u����(CUDA�̃C���X�g�[����ɂ���lib��lib64)
����� libcudamat.so �����s���ɎQ�Ƃł���悤�C�����̃p�X��
�‹��ϐ� LD_LIBRARY_PATH �ɐݒ肵�Ă��������D

�Ⴆ�΁C/var/tmp/dictation-kit-linux �ɂ��̃L�b�g������CCUDA��
/usr/local/cuda �ɂ���Ƃ���ƁC�C���̃p�X�� LD_LIBRARY_PATH ��
�����܂��D

/usr/local/cuda/lib (32-bit�̏ꍇ)
/usr/local/cuda/lib64 (64-bit�̏ꍇ)
/var/tmp/dictation-kit-linux/bin

run-win-dnn.bat �� run-(linux|osx)-dnn.sh �́CCPU�݂̂Ōv�Z����
dnnclient.py ���g���悤�ɂȂ��Ă��܂��DGPU���g�p����ꍇ�́C
����� dnnclient-gpu.py �ɍ����ւ���( run-win-dnn.bat ��
run-(linux|osx)-dnn.sh �̓��e������������)���������D


�� ���ӎ��� //////////////////////////////////////////////////////////

���̃t�@�C���ɋL�ڂ��ꂽ���e�͓��쌟�؎��̊‹��Ɋ�Â������̂ł��D
���p�‹��ɂ���Ă͎菇��ݒ肪�قȂ�C���邢�͓��삵�Ȃ��”\����
����܂��DGPU���p���̓��쌟�؂ɗ��p�����‹��͎��̒ʂ�ł��D

[Windows]
Core i7 (2.8GHz) + 8GB memory + NVIDIA Quadro FX 580
Windows7 Ultimate SP1 (64-bit)
Microsoft Visual Studio 2008 Professional Edition
NVIDIA CUDA 5.5.20 (Desktop 64-bit)
Python 2.7.6 + Numpy 1.8.0 ������� (64-bit) + cudamat 0.3

[Linux]
Xeon (3.5GHz) + 32GB memory + NVIDIA Quadro K4000
CentOS 6.4 (64-bit)
NVIDIA CUDA 5.5 (64-bit)
Python 2.6.6 + Numpy 1.4.1 (64-bit) + cudamat 0.3

���̃t�@�C���ɋ�����URL(Web�T�C�g)�́C���p�҂̕֋X�̂��߂ɋL��
�������̂ŁCJulius����уf�B�N�e�[�V�����L�b�g�Ƃ͊֌W����܂���D
������Web�T�C�g��C��������_�E�����[�h�����\�t�g�E�F�A����
�������S���ɂ‚��ĉ���̕ۏ؂�������̂ł�����܂���D
���ȐӔC�ł����p�������D
131 changes: 131 additions & 0 deletions HOWTO.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,131 @@
======================================================================

�F���V�X�e���̋N���Ɠ���

2000/06/22
v2.2 2004/05/07
v3.0 2004/08/11
v3.1 2005/11/11
v4.1 2011/03/03
v4.2 2011/05/11
v.4.2.3 2013/06/30
v.4.3.1 2014/01/31
(OS������) 2015/10/03
======================================================================

�� 2��ނ̃V�X�e�� ///////////////////////////////////////////////////

���L�b�g�ɂ́uGMM�Łv�ƁuDNN�Łv��2��ނ̃V�X�e���������Ă��܂��D
�����͕K�v�X�y�b�N�E�����ʂƔF�����x���قȂ�܂��D

GMM�ł�DNN�łɔ�ׂĐ��x��������܂����C���̕������͌y���C������������
�o�[�W�����ł��DDNN�ł͍����x�ł����C��r�I�������d���Ȃ�܂��D�܂��C
�ʓr�\�t�g�E�F�A���C���X�g�[������K�v������܂��D

�ʏ�́CGMM�ł̂ق������g���������D��荂���x�ȔF�����s�������ꍇ��
DNN�ł������p�������DDNN�ł̗��p���@�ɂ‚��Ă� HOWTO-dnn.txt �Ő���
���Ă��܂��D


�� �}�C�N���͂̃Z�b�g�A�b�v //////////////////////////////////////////

Julius �͘^���f�o�C�X�̑I���≹�ʂȂǂ̒��߂��s���܂���D
�F�����͂��߂�O�ɁC���炩���ߓ��̓f�o�C�X�̃Z�b�g�A�b�v��
���Ă����K�v������܂��D

�E���͂̑I���F�������͂ɗp����f�o�C�X(MIC/LINE�Ȃ�)���w��
�E�^���{�����[���̒���

[Windows]
�}�C�N���‚Ȃ��C�R���g���[���p�l���́u�T�E���h�v����C�g�p����
�^���f�o�C�X���u����̃f�o�C�X�v�ɐݒ肵�C�v���p�e�B���特�ʂ�
�������܂��D������ Windows �t���́u�T�E���h���R�[�_�[�v�ŁC
�}�C�N�̉������^���ł��邩�ǂ������m���߂Ă��������D

[Linux]
�}�C�N���‚Ȃ��Cxmixer�Ealsamixer �Ȃǂ̃~�L�T�[�C���邢�͉���
�R���g���[�����N�����āC�f�o�C�X�Ɖ��ʂ�ݒ肵�܂��D

[MacOSX]
�܂��CJulius�̃}�C�N���͂ɕK�v�ȃI�[�f�B�I���C�u���� PortAudio ��
�C���X�g�[�����Ă��������D�C���X�g�[���ɂ͊J���‹�(Xcode)���K�v�ł��D
�V�X�e���‹��ݒ�́u�T�E���h�v����C�g�p����^���f�o�C�X��I�����C
���ʂ𒲐����܂��D

�^���{�����[���̒��߂͒��ӂ𕥂��K�v������܂��D
����������Ɣ����J�n�𐳂������o�ł��܂��񂵁C�t�ɑ傫������Ɖ������
�N�����ĔF�����Â炭�Ȃ�܂��D
��������Ȃ����x�ɑ傫�����Ă��������D


�� �N�� //////////////////////////////////////////////////////////////

DNN�ł̎��s�ɍۂ��ẮCHOWTO-dnn.txt �ɋL�ڂ���Ă���Z�b�g�A�b�v
��Ƃ��ɍs���Ă��������D

[Windows]
GMM�ł́C�urun-win-gmm.bat�v�CDNN�ł́urun-win-dnn.bat�v���_�u��
�N���b�N���邱�ƂŋN�����܂��D�F�����ʂ� Shift-JIS �R�[�h�ŕ\��
����܂��D

[Linux�EMacOSX]
�^�[�~�i����ŁCGMM�ł́C�urun-(linux|osx)-gmm.sh�v�CDNN�ł�
�urun-(linux|osx)-dnn.sh�v�����s���邱�ƂŋN�����܂��DDNN�ł�
GUI(X Window)�‹��Ŏ��s���Ă��������D�F�����ʂ� EUC-JP (Linux)�C
UTF-8 (MacOSX) �R�[�h�ŕ\������܂��D

�N���� "<<<please speak>>>" �̃}�[�N�����ꂽ�珀�������ł��D


�� �F�������Ă݂� ////////////////////////////////////////////////////

�Ƃ肠�����C���̕��͂𒝂��Ă݂Ă��������D

�u�O�@�c���́C��̓I�ɂǂ��l���Ă���̂��v

�}�C�N�Ɍ������Ē���͂��߂�ƁC�����ɔF�����͂��܂�܂��D
����I����ƁC�����ŏ�������������~�߂܂��D
�����ō����͂����ꕶ���Čv�Z���C�ŏI�I�ȔF�����ʂ��o�͂��܂��D
�Ō�ɏo�Ă���

sentence1: ....

�Ƃ����̂��ŏI���ʂł��D

+-----------------------------------------------------------------+
| �I���ӁI |
| |
| �ŏ���1���́��K�������܂��F���ł��܂���D |
| ����͔F���v���O���� Julius �����O��1���͂ʼn����‹��̒��߂��s�� |
| ���߁C�N�����čŏ���1���͂��̒��߂������Ȃ�����ł��D |
| 2���ڂ���ȍ~�́C���������삵�܂��D |
+-----------------------------------------------------------------+


�� �F���̃R�c ///////////////////////////////////////////////////////

���܂��F��������R�c�́C�����̂悤�ɒ��邱�Ƃł��D

o �}�C�N�����܂���ɋ߂Â��Ȃ��悤��
o �傫�������J���Ĉ����͂������
o ������肵���y�[�X��
o 10�P�ꂮ�炢�‹�؂��Ĕ�������i�����ƒx���C�Z���ƊԈႦ�₷���j

�Ȃ��C���̃V�X�e���ŔF���ł��锭�b�ɂ͈ȉ��̂悤�Ȍ��E������܂��D

�E�����ɂȂ����m��͑S���F���ł��Ȃ�
�i���[�U�����o�^�������j
�E���[�U�̂������w�K����C������b�ғK���ɖ��Ή�


�� ���܂������Ȃ��E�F���ł��Ȃ��Ƃ��� ///////////////////////////////

�t�@�C�� TROUBLE.txt �������������D
�܂��CJulius�̃z�[���y�[�W�Ɍf���‚�����܂��̂ŁC
������������ɂȂ邩������܂���D


Julius�̃z�[���y�[�W�F
http://julius.osdn.jp/

�ȏ�
Loading

0 comments on commit d49b55c

Please sign in to comment.