࣮
w 4QFFDIΛΠϯϙʔτ
w -PDBMFΛࢦఆ
ಛఆͷݴޠΛࢦఆ͢Δํ๏
Ϣʔβʔͷݱࡏͷ-PDBMFΛઃఆ͢Δํ๏
SFSpeechRecognizer(locale: Locale(identifier: "ja_JP"))
SFSpeechRecognizer(locale: Locale.current)
import Speech
Slide 10
Slide 10 text
࣮
ΞΫηεڐՄ
SFSpeechRecognizer.requestAuthorization {status in
switch status {
case .authorized:
case .denied:
case .restricted:
case .notDetermined:
}
}
Slide 11
Slide 11 text
࣮
w ϦΞϧλΠϜԻղੳ
w Իͨ͠ԻΛղੳ
SFSpeechAudioBufferRecognitionRequest()
SFSpeechURLRecognitionRequest(url: URL)
Իιʔεͷఆٛ
Slide 12
Slide 12 text
࣮
3FRVFTUͷ݁ՌΛॲཧ
speechRecognizer?.recognitionTask(with: speechRequest,
resultHandler: { (speechResult, error) in
if speechResult.isFinal {
print("Speech in the file is \
(speechResult.bestTranscription.formattedString)")
}
Slide 13
Slide 13 text
Իೝࣝ݁Ռ
J04·Ͱ
w ॻ͖ى͜͠ 5SBOTDSJQUJPO
༩͑ΒΕͨԻશମΛςΩετͰදͨ͠ͷ
w ସղऍ "MUFSOBUJWFJOUFSQSFUBUJPOT
ॻ͖ى͜͠ͷҟͳΔղऍ
w ৴པ $POpEFODFMFWFMT
ॻ͖ى͕͜͠Ϣʔβʔͷ4QFFDIͱਖ਼֬ʹҰக͢Δͱ͍͏৴པ
w λΠϛΠϯάใ 5JNJOHJOGPSNBUJPO
ೝࣝͨ͠ԻͷதͰ͍ͯͨ͠୯ޠͳͲͷ։͔࢝Βͷඵ
Slide 14
Slide 14 text
Իೝࣝ݁Ռ
J04Ҏ߱
w TQFBLJOH3BUF
ؒʹ͞ΕΔݴ༿ͷ
w ฏۉٳࢭ࣌ؒ BWFSBHF1BVTF%VSBUJPO
୯ޠؒͷҰ࣌తͳఀࢭ࣌ؒͷฏۉɺ୯Ґඵ
w Իղੳػೳ
SFTVMUCFTU5SBOTDSJQUJPOTFHNFOUT͔Βऔಘ
Slide 15
Slide 15 text
4'5SBOTDSJQUJPO4FHNFOU
w શମͷҰ෦Λৄࡉʹऔಘ͢ΔͨΊʹར༻
w ҰͭͷҙຯΛද͢୯ޠɺ୯ޠͷάϧʔϓͷԻ
w FYڞ༗ձɹˠࠓ༠սɺڞ༗ճɹͳͲʣ
Slide 16
Slide 16 text
4'7PJDF"OBMZUJDT
J04Ҏ߱
w +JUUFSϐονͷมԽΛɺϑϨʔϜͷجຊपͷύʔηϯςʔδͰදͨ͠ͷ
TFHNFOUWPJDF"OBMZUJDT KJUUFSBDPVTUJD'FBUVSF7BMVF1FS'SBNF
w 4IJNNFS֤ϑϨʔϜʹ͓͚Δྔ҆ఆੑʢৼ෯ʣͷมԽΛσγϕϧͰද͢
TFHNFOUWPJDF"OBMZUJDT TIJNNFSBDPVTUJD'FBUVSF7BMVF1FS'SBNF
w 1JUDI֤ϑϨʔϜʹ͓͚ΔԻ৭ʢجຊपʣͷߴΛରͰදͨ͠ͷ
TFHNFOUWPJDF"OBMZUJDT QJUDIBDPVTUJD'FBUVSF7BMVF1FS'SBNF
w 7PJDJOHεϐʔνͷதͰൃੜͨ͠ԻҬ
<
>ͷൣғͷ֬Ͱදͨ͠ͷ
TFHNFOUWPJDF"OBMZUJDT WPJDJOHBDPVTUJD'FBUVSF7BMVF1FS'SBNF
Slide 17
Slide 17 text
ࣗͷ͍ൃԻͰࢼͯ͠Έͨ
w ʮڞ༗ձʯൃԻ
ग़ྗ
CFTU5SBOTDSJQUJPO
GPSNBUUFE4USJOH
ڞ༗ձ
TQFBLJOH3BUF
BWFSBHF1BVTF%V
SBUJPO
TFHNFOU
BMUFSOBUJWF4VCTUSJOH
T
ࠓ༠ս ڞ༗ճ
DPOpEFODF
UJNJOH
Slide 18
Slide 18 text
࣮࣌ͷҙ
w *OGPQMJTU
ɹ/44QFFDI3FDPHOJUJPO6TBHF%FTDSJQUJPO
ɹ/4.JDSPQIPOF6TBHF%FT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