forked from rhasspy/rhasspy
-
Notifications
You must be signed in to change notification settings - Fork 0
/
configure.ac
821 lines (608 loc) · 21.9 KB
/
configure.ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
AC_INIT([rhasspy], [2.5.11], [mike@rhasspy.org])
AC_CONFIG_MACRO_DIR([m4])
PC_INIT([3.7.0])
dnl ---------------------------------------------------------------------------
AC_PREFIX_DEFAULT([$PWD/.venv])
dnl Template files to write
AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([setup.py])
AC_CONFIG_FILES([rhasspy.sh])
AC_CONFIG_FILES([rhasspy.spec])
AC_CANONICAL_HOST
AC_PROG_INSTALL
AC_PROG_MKDIR_P
AC_PROG_CC
AC_PROG_CXX
dnl ---------------------------------------------------------------------------
is_virtualenv_enabled=yes
is_dependency_check_enabled=yes
dnl An in-place install does not include Rhasspy Python modules, since they will
dnl be used directly from source.
is_in_place=no
dnl ----------
dnl Microphone
dnl ----------
is_pyaudio_enabled=yes
dnl -------------------
dnl Wake Word Detection
dnl -------------------
is_wake_enabled=yes
is_precise_enabled=UNKNOWN
precise_arch=NONE
precise_from=prebuilt
is_porcupine_enabled=UNKNOWN
is_snowboy_enabled=UNKNOWN
is_wake_pocketsphinx_enabled=UNKNOWN
is_raven_enabled=yes
dnl --------------
dnl Speech to Text
dnl --------------
is_speech_to_text_enabled=yes
is_stt_pocketsphinx_enabled=UNKNOWN
pocketsphinx_from=source
is_kaldi_enabled=UNKNOWN
kaldi_from=prebuilt
is_julius_enabled=UNKNOWN
julius_from=prebuilt
is_deepspeech_enabled=UNKNOWN
deepspeech_arch=NONE
deepspeech_from=prebuilt
is_vosk_enabled=UNKNOWN
dnl ------------------
dnl Intent Recognition
dnl ------------------
is_fuzzywuzzy_enabled=yes
is_snips_enabled=no
dnl --------------
dnl Training Tools
dnl --------------
is_training_enabled=yes
is_opengrm_enabled=UNKNOWN
opengrm_from=prebuilt
is_phonetisaurus_enabled=UNKNOWN
phonetisaurus_from=prebuilt
is_kenlm_enabled=UNKNOWN
kenlm_from=prebuilt
dnl --------------
dnl Text to Speech
dnl --------------
is_nanotts_enabled=UNKNOWN
nanotts_from=prebuilt
is_wavenet_enabled=yes
is_larynx_enabled=UNKNOWN
larynx_arch=NONE
dnl Set architectures based on host CPU
AS_CASE([$host_cpu],
[armv6l],[
dnl ARM 32-bit v6 (Pi 1/0)
docker_arch=armv6
is_precise_enabled=no
precise_from=NONE
is_porcupine_enabled=yes
is_snowboy_enabled=yes
is_wake_pocketsphinx_enabled=yes
is_stt_pocketsphinx_enabled=yes
pocketsphinx_from=source
is_kaldi_enabled=no
kaldi_from=NONE
is_julius_enabled=yes
is_deepspeech_enabled=no
deepspeech_from=NONE
is_opengrm_enabled=yes
is_phonetisaurus_enabled=yes
is_kenlm_enabled=yes
is_nanotts_enabled=yes
is_larynx_enabled=no
is_vosk_enabled=no
],
[armv7l],[
dnl ARM 32-bit v7 (Pi 2/3/4)
docker_arch=armv7
is_precise_enabled=yes
precise_arch=armv7l
is_porcupine_enabled=yes
is_snowboy_enabled=yes
is_wake_pocketsphinx_enabled=yes
is_stt_pocketsphinx_enabled=yes
pocketsphinx_from=source
is_kaldi_enabled=yes
is_julius_enabled=yes
is_deepspeech_enabled=yes
deepspeech_arch=rpi3
is_opengrm_enabled=yes
is_phonetisaurus_enabled=yes
is_kenlm_enabled=yes
is_nanotts_enabled=yes
is_larynx_enabled=yes
larynx_arch=armv7l
is_vosk_enabled=yes
],
[aarch64],[
dnl ARM 64-bit (Pi 3/4)
docker_arch=arm64
is_precise_enabled=yes
precise_arch=aarch64
is_porcupine_enabled=yes
is_snowboy_enabled=no
is_wake_pocketsphinx_enabled=yes
is_stt_pocketsphinx_enabled=yes
pocketsphinx_from=source
is_kaldi_enabled=yes
is_julius_enabled=yes
is_deepspeech_enabled=yes
deepspeech_from=NONE
is_opengrm_enabled=yes
is_phonetisaurus_enabled=yes
is_kenlm_enabled=yes
is_nanotts_enabled=yes
is_larynx_enabled=yes
larynx_arch=aarch64
is_vosk_enabled=yes
],
[x86_64],[
dnl x86_64 compatible
docker_arch=amd64
is_precise_enabled=yes
precise_arch=x86_64
is_porcupine_enabled=yes
is_snowboy_enabled=yes
is_wake_pocketsphinx_enabled=yes
is_stt_pocketsphinx_enabled=yes
pocketsphinx_from=source
is_kaldi_enabled=yes
is_julius_enabled=yes
is_deepspeech_enabled=yes
deepspeech_arch=amd64
is_opengrm_enabled=yes
is_phonetisaurus_enabled=yes
is_kenlm_enabled=yes
is_nanotts_enabled=yes
is_larynx_enabled=yes
larynx_arch=x86_64
is_vosk_enabled=yes
])
dnl ---------------------------------------------------------------------------
AC_ARG_ENABLE([in-place],
AS_HELP_STRING([--enable-in-place],
[do not install Rhasspy Python modules in virtual environment (will be used from source)]))
precompiled_binaries_enabled=yes
AC_ARG_ENABLE([precompiled-binaries],
AS_HELP_STRING([--disable-precompiled-binaries],
[build dependencies from source instead of downloading prebuilt binaries]))
online_enabled=yes
AC_ARG_ENABLE([online],
AS_HELP_STRING([--disable-online],
[disable all online services]))
AC_ARG_VAR([RHASSPY_LANGUAGE],
[use recommended settings for specific language (ca,cs,de,el,en,es,fr,hi,it,nl,pl,pt,ru,sv,vi,zh)])
dnl ---------------------------------------------------------------------------
dnl Python virtual environment
dnl ---------------------------------------------------------------------------
AC_ARG_ENABLE([virtualenv],
[AS_HELP_STRING([--disable-virtualenv],
[don't create a Python virtual environment at prefix])])
AC_ARG_VAR([VIRTUALENV_FLAGS], [flags to pass to when creating virtual environment])
dnl ---------------------------------------------------------------------------
dnl Training Tools
dnl ---------------------------------------------------------------------------
dnl Opengrm
AC_ARG_ENABLE([opengrm],
AS_HELP_STRING([--disable-opengrm],
[disable installation of opengrm language modeling toolkit]))
dnl Phonetisaurus
AC_ARG_ENABLE([phonetisaurus],
AS_HELP_STRING([--disable-phonetisaurus],
[disable installation of phonetisaurus grapheme to phoneme tool]))
dnl Training meta
AC_ARG_ENABLE([training],
AS_HELP_STRING([--disable-training],
[disable installation of training tools]))
dnl ---------------------------------------------------------------------------
dnl Wake Word Systems
dnl ---------------------------------------------------------------------------
dnl Mycroft Precise
AC_ARG_ENABLE([precise],
AS_HELP_STRING([--disable-precise],
[disable installation of Mycroft Precise wake word system]))
dnl Picovoice Porcupine
AC_ARG_ENABLE([porcupine],
AS_HELP_STRING([--disable-porcupine],
[disable installation of Porcupine wake word system]))
dnl Snowboy
AC_ARG_ENABLE([snowboy],
AS_HELP_STRING([--disable-snowboy],
[disable installation of Snowboy wake word system]))
dnl Wake meta
AC_ARG_ENABLE([wake],
AS_HELP_STRING([--disable-wake],
[disable installation of all wake word systems]))
AC_ARG_VAR([RHASSPY_WAKE_SYSTEM],
AS_HELP_STRING([only enable a single wake word system (precise,porcupine,snowboy,pocketsphinx)]))
dnl ---------------------------------------------------------------------------
dnl Speech to Text Systems
dnl ---------------------------------------------------------------------------
dnl Pocketsphinx
AC_ARG_ENABLE([pocketsphinx],
AS_HELP_STRING([--disable-pocketsphinx],
[disable installation of pocketsphinx speech to text system]))
dnl Kaldi
AC_ARG_ENABLE([kaldi],
AS_HELP_STRING([--disable-kaldi],
[disable installation of Kaldi speech to text system]))
dnl Julius
AC_ARG_ENABLE([julius],
AS_HELP_STRING([--disable-julius],
[disable installation of julius speech to text system]))
dnl Mozilla's DeepSpeech
AC_ARG_ENABLE([deepspeech],
AS_HELP_STRING([--disable-deepspeech],
[disable installation of deepspeech speech to text system]))
dnl Vosk
AC_ARG_ENABLE([vosk],
AS_HELP_STRING([--disable-vosk],
[disable installation of vosk speech to text system]))
dnl Speech to text meta
AC_ARG_ENABLE([speech-to-text],
AS_HELP_STRING([--disable-speech-to-text],
[disable installation of all speech to text systems]))
AC_ARG_VAR([RHASSPY_SPEECH_SYSTEM],
AS_HELP_STRING([only enable a single speech to text system (pocketsphinx,kaldi,deepspeech,julius)]))
dnl ---------------------------------------------------------------------------
dnl Intent Recognition
dnl ---------------------------------------------------------------------------
AC_ARG_ENABLE([fuzzywuzzy],
AS_HELP_STRING([--disable-fuzzywuzzy],
[disable installation of fuzzywuzzy intent recognition system]))
AC_ARG_ENABLE([snips],
AS_HELP_STRING([--enable-snips],
[enable installation of Snips NLU intent recognition system]))
dnl ---------------------------------------------------------------------------
dnl Text to Speech
dnl ---------------------------------------------------------------------------
AC_ARG_ENABLE([nanotts],
AS_HELP_STRING([--disable-nanotts],
[disable installation of nanoTTS text to speech system]))
AC_ARG_ENABLE([wavenet],
AS_HELP_STRING([--disable-wavenet],
[disable installation of Google Wavenet text to speech system]))
AC_ARG_ENABLE([larynx],
AS_HELP_STRING([--disable-larynx],
[disable installation of Larynx text to speech system]))
dnl ---------------------------------------------------------------------------
dnl Resolve Settings
dnl ---------------------------------------------------------------------------
wake_system=NONE
dnl Override with specific wake system
AS_IF([test "x$RHASSPY_WAKE_SYSTEM" != x],
[wake_system=$RHASSPY_WAKE_SYSTEM])
AS_CASE([$wake_system],
[pocketsphinx],
[
is_wake_pocketsphinx_enabled=yes
is_porcupine_enabled=no
is_precise_enabled=no
is_snowboy_enabled=no
],
[porcupine],
[
is_wake_pocketsphinx_enabled=no
is_porcupine_enabled=yes
is_precise_enabled=no
is_snowboy_enabled=no
],
[precise],
[
is_wake_pocketsphinx_enabled=no
is_porcupine_enabled=no
is_precise_enabled=yes
is_snowboy_enabled=no
],
[snowboy],
[
is_wake_pocketsphinx_enabled=no
is_porcupine_enabled=no
is_precise_enabled=no
is_snowboy_enabled=yes
])
stt_system=NONE
kaldi_or_pocketsphinx=kaldi
AS_IF([test "x${is_kaldi_enabled}" != xyes],
[kaldi_or_pocketsphinx=pocketsphinx])
dnl Override with recommended settings for language
AS_IF([test "x$RHASSPY_LANGUAGE" != x],
[
lang=$RHASSPY_LANGUAGE
AS_CASE([$lang],
[ca],[stt_system=pocketsphinx],
[cs],[stt_system=kaldi],
[de],[stt_system=${kaldi_or_pocketsphinx}],
[el],[stt_system=pocketsphinx],
[en],[stt_system=${kaldi_or_pocketsphinx}],
[es],[stt_system=${kaldi_or_pocketsphinx}],
[fr],[stt_system=${kaldi_or_pocketsphinx}],
[hi],[stt_system=pocketsphinx],
[it],[stt_system=${kaldi_or_pocketsphinx}],
[nl],[stt_system=${kaldi_or_pocketsphinx}],
[pl],[stt_system=julius],
[pt],[stt_system=pocketsphinx],
[ru],[stt_system=${kaldi_or_pocketsphinx}],
[sv],[stt_system=kaldi],
[vi],[stt_system=kaldi],
[zh],[stt_system=pocketsphinx],
[AC_MSG_ERROR([Unsupported language: $lang])])
])
dnl Override with specific speech to text system
AS_IF([test "x$RHASSPY_SPEECH_SYSTEM" != x],
[stt_system=$RHASSPY_SPEECH_SYSTEM])
AS_CASE([$stt_system],
[pocketsphinx],
[
is_stt_pocketsphinx_enabled=yes
is_kaldi_enabled=no
is_julius_enabled=no
is_deepspeech_enabled=no
],
[kaldi],
[
is_stt_pocketsphinx_enabled=no
is_kaldi_enabled=yes
is_julius_enabled=no
is_deepspeech_enabled=no
],
[julius],
[
is_stt_pocketsphinx_enabled=no
is_kaldi_enabled=no
is_julius_enabled=yes
is_deepspeech_enabled=no
],
[deepspeech],
[
is_stt_pocketsphinx_enabled=no
is_kaldi_enabled=no
is_julius_enabled=no
is_deepspeech_enabled=yes
])
dnl Disable tools that are only applicable to specific speech to text systems
AS_IF([test "x${is_deepspeech_enabled}x${is_stt_pocketsphinx_enabled}x${is_kaldi_enabled}x${is_julius_enabled}" = xyesxnoxnoxno],
[is_phonetisaurus_enabled=no])
AS_IF([test "x${is_deepspeech_enabled}" = xno],
[is_kenlm_enabled=no])
dnl Override with enable/disable options (meta)
AS_CASE([$enable_wake],
[no],[
is_precise_enabled=no
is_porcupine_enabled=no
is_snowboy_enabled=no
is_wake_pocketsphinx_enabled=no
is_raven_enabled=no
])
AS_CASE([$enable_speech_to_text],
[no],[
is_stt_pocketsphinx_enabled=no
is_kaldi_enabled=no
is_julius_enabled=no
is_deepspeech_enabled=no
])
AS_CASE([$enable_training],
[no],[
is_opengrm_enabled=no
is_phonetisaurus_enabled=no
is_kenlm_enabled=no
])
dnl Override with enable/disable options (non-meta)
AS_CASE([$enable_precise],
[yes],[is_precise_enabled=yes],
[no],[is_precise_enabled=no])
AS_CASE([$enable_raven],
[yes],[is_raven_enabled=yes],
[no],[is_raven_enabled=no])
AS_CASE([$enable_snowboy],
[no],[is_snowboy_enabled=no])
AS_CASE([$enable_pocketsphinx],
[no],[is_stt_pocketsphinx_enabled=no
is_wake_pocketsphinx_enabled=no])
AS_CASE([$enable_kaldi],
[yes],[is_kaldi_enabled=yes],
[no],[is_kaldi_enabled=no])
AS_CASE([$enable_julius],
[yes],[is_julius_enabled=yes],
[no],[is_julius_enabled=no])
AS_CASE([$enable_deepspeech],
[yes],[is_deepspeech_enabled=yes],
[no],[is_deepspeech_enabled=no])
AS_CASE([$enable_opengrm],
[yes],[is_opengrm_enabled=yes],
[no],[is_opengrm_enabled=no])
AS_CASE([$enable_phonetisaurus],
[yes],[is_phonetisaurus_enabled=yes],
[no],[is_phonetisaurus_enabled=no])
AS_CASE([$enable_kenlm],
[yes],[is_kenlm_enabled=yes],
[no],[is_kenlm_enabled=no])
AS_CASE([$enable_nanotts],
[yes],[is_nanotts_enabled=yes],
[no],[is_nanotts_enabled=no])
AS_CASE([$enable_wavenet],
[yes],[is_wavenet_enabled=yes],
[no],[is_wavenet_enabled=no])
AS_CASE([$enable_larynx],
[yes],[is_larynx_enabled=yes],
[no],[is_larynx_enabled=no])
dnl Determine prebuilt/source
AS_CASE([$enable_precompiled_binaries],
[no],[
kaldi_from=source
julius_from=source
opengrm_from=source
phonetisaurus_from=source
kenlm_from=source
nanotts_from=source
])
dnl Pocketsphinx can be enabled for wake or speech to text
AS_IF([test "x${is_wake_pocketsphinx_enabled}x${is_stt_pocketsphinx_enabled}" = xnoxno],
[is_pocketsphinx_enabled=no],
[is_pocketsphinx_enabled=yes])
AS_CASE([$enable_fuzzywuzzy],
[yes],[is_fuzzywuzzy_enabled=yes],
[no],[is_fuzzywuzzy_enabled=no])
AS_CASE([$enable_snips],
[yes],[is_snips_enabled=yes],
[no],[is_snips_enabled=no])
dnl In-place install
AS_CASE([$enable_in_place],
[yes],[is_in_place=yes],
[no],[is_in_place=no])
dnl Virtual environment
AS_CASE([$enable_virtualenv],
[no],[is_virtualenv_enabled=no])
dnl Online services
AS_CASE([$enable_online],
[no],[is_wavenet_enabled=no])
dnl ---------------------------------------------------------------------------
dnl Extra Dependency Checks
dnl ---------------------------------------------------------------------------
AC_ARG_ENABLE([dependency-check],
AS_HELP_STRING([--disable-dependency-check],
[disable checking for external dependencies]),
[is_dependency_check_enabled=$enableval])
AS_IF([test "x$is_dependency_check_enabled" = xyes], [
dnl PyAudio requires portaudio.h
AS_IF([test "x$is_pyaudio_enabled" = xyes],
[
AC_CHECK_HEADER([portaudio.h], [], [
AC_MSG_ERROR([portaudio development libary is required for PyAudio microphone (portaudio19-dev package)])
])
])
dnl pocketsphinx needs swig and a C compiler
AS_IF([test "x${is_pocketsphinx_enabled}x${pocketsphinx_from}" = xyesxsource],
[
AS_IF([test "x$CC" = x], [
AC_MSG_ERROR([C compiler is required for Pocketsphinx (build-essential package)])
])
AX_PKG_SWIG([3.0.0], [], [
AC_MSG_ERROR([swig is required for Pocketsphinx (swig package)])
])
])
dnl julius needs a C compiler
AS_IF([test "x${is_julius_enabled}x${julius_from}" = xyesxsource],
[
AS_IF([test "x$CC" = x], [
AC_MSG_ERROR([C compiler is required for Julius (build-essential package)])
])
])
dnl kaldi needs ATLAS
AS_IF([test "x$is_kaldi_enabled" = xyes],
[
AC_CHECK_LIB(atlas, ATL_xerbla, [], [
AC_MSG_ERROR([ATLAS is required for Kaldi (libatlas-base-dev package)])
])
])
dnl kaldi needs a C++ compiler (and a ton of other things)
AS_IF([test "x${is_kaldi_enabled}x${kaldi_from}" = xyesxsource],
[
AS_IF([test "x$CXX" = x], [
AC_MSG_ERROR([C++ compiler is required for Kaldi (build-essential package)])
])
])
dnl TODO: Snips NLU rust, cargo
]) dnl is_dependency_check_enabled
dnl ---------------------------------------------------------------------------
dnl Summary
dnl ---------------------------------------------------------------------------
dnl Prefix is NONE for some reason instead of default value
summary_prefix=$prefix
AS_IF([test "x$summary_prefix" = xNONE], [
summary_prefix=$PWD/.venv
])
AS_ECHO(["
Rhasspy configuration summary:
architecture: ${host_cpu}/${docker_arch}
prefix: ${summary_prefix}
virtualenv: ${is_virtualenv_enabled}
in-place: ${is_in_place}
language: ${RHASSPY_LANGUAGE}
wake:"])
AS_IF([test "x$is_precise_enabled" = xyes],
AS_ECHO([" mycroft precise: ${is_precise_enabled} (${precise_arch}, ${precise_from})"]),
AS_ECHO([" mycroft precise: ${is_precise_enabled}"]))
AS_ECHO([" porcupine: ${is_porcupine_enabled}"])
AS_ECHO([" snowboy: ${is_snowboy_enabled}"])
AS_ECHO([" raven: ${is_raven_enabled}"])
AS_IF([test "x$is_wake_pocketsphinx_enabled" = xyes],
AS_ECHO([" pocketsphinx: ${is_wake_pocketsphinx_enabled} (${pocketsphinx_from})"]),
AS_ECHO([" pocketsphinx: ${is_wake_pocketsphinx_enabled}"]))
AS_ECHO(["
speech to text:"])
AS_IF([test "x$is_stt_pocketsphinx_enabled" = xyes],
AS_ECHO([" pocketsphinx: ${is_stt_pocketsphinx_enabled} (${pocketsphinx_from})"]),
AS_ECHO([" pocketsphinx: ${is_stt_pocketsphinx_enabled}"]))
AS_IF([test "x$is_kaldi_enabled" = xyes],
AS_ECHO([" kaldi: ${is_kaldi_enabled} (${docker_arch}, ${kaldi_from})"]),
AS_ECHO([" kaldi: ${is_kaldi_enabled}"]))
AS_IF([test "x$is_deepspeech_enabled" = xyes],
AS_ECHO([" deepspeech: ${is_deepspeech_enabled} (${deepspeech_arch}, ${deepspeech_from})"]),
AS_ECHO([" deepspeech: ${is_deepspeech_enabled}"]))
AS_ECHO([" vosk: ${is_vosk_enabled}"])
AS_IF([test "x$is_julius_enabled" = xyes],
AS_ECHO([" julius: ${is_julius_enabled} (${docker_arch}, ${julius_from})"]),
AS_ECHO([" julius: ${is_julius_enabled}"]))
AS_ECHO(["
intent recognition:"])
AS_ECHO([" fuzzywuzzy: ${is_fuzzywuzzy_enabled}"])
AS_ECHO([" snips-nlu: ${is_snips_enabled}"])
AS_ECHO(["
text to speech:"])
AS_ECHO([" nanoTTS: ${is_nanotts_enabled} (${nanotts_from})"])
AS_ECHO([" Wavenet: ${is_wavenet_enabled}"])
AS_ECHO([" Larynx: ${is_larynx_enabled}"])
AS_ECHO(["
training:"])
AS_IF([test "x$is_opengrm_enabled" = xyes],
AS_ECHO([" opengrm: ${is_opengrm_enabled} (${docker_arch}, ${opengrm_from})"]),
AS_ECHO([" opengrm: ${is_opengrm_enabled}"]))
AS_IF([test "x$is_phonetisaurus_enabled" = xyes],
AS_ECHO([" phonetisaurus: ${is_phonetisaurus_enabled} (${docker_arch}, ${phonetisaurus_from})"]),
AS_ECHO([" phonetisaurus: ${is_phonetisaurus_enabled}"]))
AS_IF([test "x$is_kenlm_enabled" = xyes],
AS_ECHO([" kenlm: ${is_kenlm_enabled} (${docker_arch}, ${kenlm_from})"]),
AS_ECHO([" kenlm: ${is_kenlm_enabled}"]))
AS_ECHO([""])
dnl ---------------------------------------------------------------------------
dnl Output
dnl ---------------------------------------------------------------------------
AC_SUBST([VIRTUALENV], [$is_virtualenv_enabled])
AC_SUBST([DOCKER_ARCH], [$docker_arch])
AC_SUBST([PRECISE_ARCH], [$precise_arch])
AC_SUBST([ENABLE_PRECISE], [$is_precise_enabled])
AC_SUBST([PRECISE_FROM], [$precise_from])
AC_SUBST([ENABLE_SNOWBOY], [$is_snowboy_enabled])
AC_SUBST([ENABLE_PORCUPINE], [$is_porcupine_enabled])
AC_SUBST([ENABLE_RAVEN], [$is_raven_enabled])
AC_SUBST([ENABLE_POCKETSPHINX], [$is_pocketsphinx_enabled])
AC_SUBST([ENABLE_WAKE_POCKETSPHINX], [$is_wake_pocketsphinx_enabled])
AC_SUBST([ENABLE_STT_POCKETSPHINX], [$is_stt_pocketsphinx_enabled])
AC_SUBST([POCKETSPHINX_FROM], [$pocketsphinx_from])
AC_SUBST([ENABLE_KALDI], [$is_kaldi_enabled])
AC_SUBST([KALDI_FROM], [$kaldi_from])
AC_SUBST([ENABLE_JULIUS], [$is_julius_enabled])
AC_SUBST([JULIUS_FROM], [$julius_from])
AC_SUBST([DEEPSPEECH_ARCH], [$deepspeech_arch])
AC_SUBST([ENABLE_DEEPSPEECH], [$is_deepspeech_enabled])
AC_SUBST([DEEPSPEECH_FROM], [$deepspeech_from])
AC_SUBST([ENABLE_FUZZYWUZZY], [$is_fuzzywuzzy_enabled])
AC_SUBST([ENABLE_SNIPS], [$is_snips_enabled])
AC_SUBST([ENABLE_OPENGRM], [$is_opengrm_enabled])
AC_SUBST([OPENGRM_FROM], [$opengrm_from])
AC_SUBST([ENABLE_PHONETISAURUS], [$is_phonetisaurus_enabled])
AC_SUBST([PHONETISAURUS_FROM], [$phonetisaurus_from])
AC_SUBST([ENABLE_KENLM], [$is_kenlm_enabled])
AC_SUBST([KENLM_FROM], [$kenlm_from])
AC_SUBST([ENABLE_NANOTTS], [$is_nanotts_enabled])
AC_SUBST([NANOTTS_FROM], [$nanotts_from])
AC_SUBST([ENABLE_WAVENET], [$is_wavenet_enabled])
AC_SUBST([LARYNX_ARCH], [$larynx_arch])
AC_SUBST([ENABLE_LARYNX], [$is_larynx_enabled])
AC_SUBST([ENABLE_VOSK], [$is_vosk_enabled])
AC_SUBST([IN_PLACE], [$is_in_place])
AC_OUTPUT