|
|
|
@ -84,12 +84,12 @@ skinparam stereotypePosition top
|
|
|
|
|
hide footbox
|
|
|
|
|
|
|
|
|
|
actor User as user
|
|
|
|
|
participant "NoteEditActivity" as note
|
|
|
|
|
participant "IatDemo" as demo
|
|
|
|
|
participant "SpeechRecognizer" as recognizer
|
|
|
|
|
participant "RecognizerDialog" as dialog
|
|
|
|
|
participant "JsonParser" as parser
|
|
|
|
|
participant "SpeechUtility" as utility
|
|
|
|
|
participant "NoteEditActivity" as note<<Boundary>>
|
|
|
|
|
participant "IatDemo" as demo<<Control>>
|
|
|
|
|
participant "SpeechRecognizer" as recognizer<<Entity>>
|
|
|
|
|
participant "RecognizerDialog" as dialog<<Entity>>
|
|
|
|
|
participant "JsonParser" as parser<<Entity>>
|
|
|
|
|
participant "SpeechUtility" as utility<<Entity>>
|
|
|
|
|
|
|
|
|
|
activate user
|
|
|
|
|
|
|
|
|
@ -170,11 +170,11 @@ skinparam stereotypePosition top
|
|
|
|
|
hide footbox
|
|
|
|
|
|
|
|
|
|
actor User as user
|
|
|
|
|
participant "NoteEditActivity" as note
|
|
|
|
|
participant "TtsDemo" as demo
|
|
|
|
|
participant "SpeechSynthesizer" as synthesizer
|
|
|
|
|
participant "TtsSettings" as settings
|
|
|
|
|
participant "SpeechUtility" as utility
|
|
|
|
|
participant "NoteEditActivity" as note<<Boundary>>
|
|
|
|
|
participant "TtsDemo" as demo<<Control>>
|
|
|
|
|
participant "SpeechSynthesizer" as synthesizer<<Entity>>
|
|
|
|
|
participant "TtsSettings" as settings<<Entity>>
|
|
|
|
|
participant "SpeechUtility" as utility<<Entity>>
|
|
|
|
|
|
|
|
|
|
activate user
|
|
|
|
|
|
|
|
|
@ -186,6 +186,7 @@ deactivate note
|
|
|
|
|
|
|
|
|
|
activate demo
|
|
|
|
|
demo -> utility : createUtility(appid)
|
|
|
|
|
activate utility
|
|
|
|
|
demo -> synthesizer : createSynthesizer(InitListener)
|
|
|
|
|
synthesizer -->> demo : onInit()回调初始化状态
|
|
|
|
|
|
|
|
|
@ -245,7 +246,7 @@ deactivate user
|
|
|
|
|
@enduml
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4.百度翻译顺序图:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|