ISEResultTools.h 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. //
  2. // ISEResultTools.h
  3. // IFlyMSCDemo
  4. //
  5. // Created by 张剑 on 15/3/6.
  6. //
  7. //
  8. #import <Foundation/Foundation.h>
  9. FOUNDATION_EXPORT NSString* const KCIFlyResultNormal;
  10. FOUNDATION_EXPORT NSString* const KCIFlyResultMiss;
  11. FOUNDATION_EXPORT NSString* const KCIFlyResultAdd;
  12. FOUNDATION_EXPORT NSString* const KCIFlyResultRepeat;
  13. FOUNDATION_EXPORT NSString* const KCIFlyResultReplace;
  14. FOUNDATION_EXPORT NSString* const KCIFlyResultNoise;
  15. FOUNDATION_EXPORT NSString* const KCIFlyResultMute;
  16. @interface ISEResultTools : NSObject
  17. /*!
  18. * Get the standard phonetic symbol of symbol
  19. *
  20. * @param symbol iFlytek phonetic symbol
  21. *
  22. * @return if not exit,return symbol itself
  23. */
  24. +(NSString*) toStdSymbol:(NSString*) symbol;
  25. /*!
  26. * Get the message of dpMessage
  27. */
  28. + (NSString*)translateDpMessageInfo:(int)dpMessage;
  29. /*!
  30. * Get the message of content
  31. */
  32. + (NSString*)translateContentInfo:(NSString*) content;
  33. /**
  34. * Get the format details from sentences in chinese
  35. *
  36. * @param sentences sentences in chinese
  37. * @return the format details
  38. */
  39. + (NSString*)formatDetailsForLanguageCN:(NSArray*) sentences ;
  40. /**
  41. * Get the format details from sentences in english
  42. *
  43. * @param sentences sentences in english
  44. * @return the format details
  45. */
  46. + (NSString*)formatDetailsForLanguageEN:(NSArray*) sentences ;
  47. @end