[STT/TTS] Fix spelling errors and Add descriptions 94/146394/1
authorsooyeon.kim <sooyeon.kim@samsung.com>
Mon, 28 Aug 2017 09:29:34 +0000 (18:29 +0900)
committersooyeon.kim <sooyeon.kim@samsung.com>
Mon, 28 Aug 2017 09:29:34 +0000 (18:29 +0900)
Change-Id: I5b251f9f1741190a3fc39b8cd4d745904ffa44fa
Signed-off-by: sooyeon.kim <sooyeon.kim@samsung.com>
src/Tizen.Uix.SttEngine/Tizen.Uix.SttEngine/SttEngine.cs
src/Tizen.Uix.TtsEngine/Tizen.Uix.TtsEngine/TtsEngine.cs

index 219c3c2..77f0965 100755 (executable)
@@ -219,7 +219,7 @@ namespace Tizen.Uix.SttEngine
         /// <param name="text">The result text</param>
         /// <param name="startTime">The time started speaking the result text</param>
         /// <param name="endTime">The time finished speaking the result text</param>
-        /// <param mane="userData">The User data</param>
+        /// <param name="userData">The User data</param>
         /// <returns>true to continue with the next iteration of the loop, false to break out of the loop</returns>
         /// <precondition>SendResult() should be called.</precondition>
         public delegate bool ResultTime(int index, TimeEvent resultEvent, string text, long startTime, long endTime, IntPtr userData);
@@ -231,7 +231,7 @@ namespace Tizen.Uix.SttEngine
         /// <param name="language">The language is specified as an ISO 3166 alpha-2 two letter country-code
         /// followed by ISO 639-1 for the two-letter language code
         /// for example, "ko_KR" for Korean, "en_US" for American English</param>
-        /// <param mane="userData">The User data</param>
+        /// <param name="userData">The User data</param>
         /// <returns>true to continue with the next iteration of the loop, false to break out of the loop</returns>
         /// <precondition>ForEachSupportedLanguages() should be called</precondition>
         public delegate bool SupportedLanguages(string language, IntPtr userData);
@@ -442,8 +442,8 @@ namespace Tizen.Uix.SttEngine
         /// 3. InvalidParameter
         /// 4. OperationFailed
         /// </returns>
-        /// <percondition>
-        /// Start should succeed</percondition>
+        /// <precondition>
+        /// Start should succeed</precondition>
         /// <postcondition>
         /// If the engine supports partial result, SendResult() should be invoked.</postcondition>
         public abstract Error SetRecordingData(string data, uint length);
@@ -458,8 +458,8 @@ namespace Tizen.Uix.SttEngine
         /// 3. OperationFailed
         /// 4. NetworkDown
         /// </returns>
-        /// <percondition>
-        /// Start should succeed</percondition>
+        /// <precondition>
+        /// Start should succeed</precondition>
         /// <postcondition>
         /// After processing of the engine, , SendResult() should be invoked.</postcondition>
         public abstract Error Stop();
@@ -479,6 +479,10 @@ namespace Tizen.Uix.SttEngine
         /// <summary>
         /// Public Constructor
         /// </summary>
+        /// <feature>
+        /// http://tizen.org/feature/speech.recognition
+        /// http://tizen.org/feature/microphone
+        /// </feature>
         public Engine()
         {
             _engine = this;
@@ -491,6 +495,10 @@ namespace Tizen.Uix.SttEngine
         /// <privilege>
         /// http://tizen.org/privilege/recorder
         /// </privilege>
+        /// <feature>
+        /// http://tizen.org/feature/speech.recognition
+        /// http://tizen.org/feature/microphone
+        /// </feature>
         /// <remarks>
         /// ServiceAppMain should be used for working the engine after this function.
         /// </remarks>
@@ -534,6 +542,10 @@ namespace Tizen.Uix.SttEngine
         /// <summary>
         /// Sends the recognition result to the engine service user.
         /// </summary>
+        /// <feature>
+        /// http://tizen.org/feature/speech.recognition
+        /// http://tizen.org/feature/microphone
+        /// </feature>
         /// <remarks>
         /// This API is used in SetRecordingData() and Stop(), when Stt engine sends the recognition result to the engine service user.
         /// This function is called in the following situations; 1) after Stop() is called, 2) the end point of speech is detected from recording, or 3) partial result is occurred.
@@ -610,6 +622,10 @@ namespace Tizen.Uix.SttEngine
         /// <summary>
         /// Sends the error to the engine service user.
         /// </summary>
+        /// <feature>
+        /// http://tizen.org/feature/speech.recognition
+        /// http://tizen.org/feature/microphone
+        /// </feature>
         /// <param name="error">The Error Reason</param>
         /// <param name="msg">The error message</param>
         /// <exception cref="ArgumentException">Thrown in case of Invalid Parameter</exception>
@@ -633,6 +649,10 @@ namespace Tizen.Uix.SttEngine
         /// <summary>
         /// Sends the speech status to the engine service user when Stt engine notifies the change of the speech status.
         /// </summary>
+        /// <feature>
+        /// http://tizen.org/feature/speech.recognition
+        /// http://tizen.org/feature/microphone
+        /// </feature>
         /// <remarks>
         /// This API is invoked when Stt engine wants to notify the change of the speech status anytime. NOTE that this API can be invoked for recognizing the speech.
         /// </remarks>
@@ -661,6 +681,10 @@ namespace Tizen.Uix.SttEngine
         /// <privilege>
         /// http://tizen.org/privilege/recorder
         /// </privilege>
+        /// <feature>
+        /// http://tizen.org/feature/speech.recognition
+        /// http://tizen.org/feature/microphone
+        /// </feature>
         /// <param name="callback">
         /// Called when Stt engine receives the private data from the engine service user.
         /// This callback function is called when the engine service user sends the private data to Stt engine.
@@ -701,6 +725,10 @@ namespace Tizen.Uix.SttEngine
         /// <privilege>
         /// http://tizen.org/privilege/recorder
         /// </privilege>
+        /// <feature>
+        /// http://tizen.org/feature/speech.recognition
+        /// http://tizen.org/feature/microphone
+        /// </feature>
         /// <param name="callback">callback function
         /// Called when Stt engine provides the engine service user with the private data.
         /// This callback function is called when the engine service user gets the private data from Stt engine.
index d568e7a..e957b74 100755 (executable)
@@ -362,14 +362,17 @@ namespace Tizen.Uix.TtsEngine
         /// 1. None
         /// 2. InvalidState
         /// </returns>
-        /// <percondition>
+        /// <precondition>
         /// StartSynthesis should be performed
-        /// </percondition>
+        /// </precondition>
         public abstract Error CancelSynthesis();
 
         /// <summary>
         /// Public Constructor
         /// </summary>
+        /// <feature>
+        /// http://tizen.org/feature/speech.synthesis
+        /// </feature>
         public Engine()
         {
             _engine = this;
@@ -379,6 +382,9 @@ namespace Tizen.Uix.TtsEngine
         /// Main function for Text-To-Speech (TTS) engine.
         /// This function is the main function for operating TTS engine.
         /// </summary>
+        /// <feature>
+        /// http://tizen.org/feature/speech.synthesis
+        /// </feature>
         /// <remarks>
         /// ServiceAppMain should be used for working the engine after this function.
         /// </remarks>
@@ -417,6 +423,9 @@ namespace Tizen.Uix.TtsEngine
         /// <summary>
         /// Gets the speed range from Tizen platform
         /// </summary>
+        /// <feature>
+        /// http://tizen.org/feature/speech.synthesis
+        /// </feature>
         /// <remarks>
         /// This API is used when TTS engine wants to get the speed range from Tizen platform
         /// </remarks>
@@ -439,6 +448,9 @@ namespace Tizen.Uix.TtsEngine
         /// <summary>
         /// Gets the pitch range from Tizen platform.
         /// </summary>
+        /// <feature>
+        /// http://tizen.org/feature/speech.synthesis
+        /// </feature>
         /// <remarks>
         /// This API is used when TTS engine wants to get the pitch range from Tizen platform.
         /// </remarks>
@@ -461,6 +473,9 @@ namespace Tizen.Uix.TtsEngine
         /// <summary>
         /// Sends the synthesized result to the engine service user.
         /// </summary>
+        /// <feature>
+        /// http://tizen.org/feature/speech.synthesis
+        /// </feature>
         /// <remarks>
         /// This API is used in StartSynthesis(), when TTS engine sends the synthesized result to the engine service user.
         /// The synthesized result must be transferred to the engine service user through this function.
@@ -489,6 +504,9 @@ namespace Tizen.Uix.TtsEngine
         /// <summary>
         /// Sends the error to the engine service user.
         /// </summary>
+        /// <feature>
+        /// http://tizen.org/feature/speech.synthesis
+        /// </feature>
         /// <param name="error">The error reason</param>
         /// <param name="msg">The error message</param>
         /// <precondition>
@@ -508,6 +526,9 @@ namespace Tizen.Uix.TtsEngine
         /// <summary>
         /// Sets a callback function for setting the private data.
         /// </summary>
+        /// <feature>
+        /// http://tizen.org/feature/speech.synthesis
+        /// </feature>
         /// <param name="callback">
         /// Called when the engine service user gets the private data from Tts engine.
         /// In Parameters:
@@ -545,6 +566,9 @@ namespace Tizen.Uix.TtsEngine
         /// <summary>
         /// Sets a callback function for setting the private data.
         /// </summary>
+        /// <feature>
+        /// http://tizen.org/feature/speech.synthesis
+        /// </feature>
         /// <param name="callback">callback function
         /// Called when TTS engine receives the private data from the engine service user.
         /// This callback function is called when the engine service user sends the private data to TTS engine.