ISEResultSyll.h 986 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  1. //
  2. // ISEResultSyll.h
  3. // IFlyMSCDemo
  4. //
  5. // Created by 张剑 on 15/3/6.
  6. //
  7. //
  8. #import <Foundation/Foundation.h>
  9. /**
  10. * The lable of Syll in xml results
  11. */
  12. @interface ISEResultSyll : NSObject
  13. /**
  14. * Beginning of frame,10ms per frame
  15. */
  16. @property(nonatomic, assign)int beg_pos;
  17. /**
  18. * End of frame
  19. */
  20. @property(nonatomic, assign)int end_pos;
  21. /**
  22. * Content of Syll
  23. */
  24. @property(nonatomic, strong)NSString* content;
  25. /**
  26. * Pin Yin(cn),number represents tone,5 represents light tone,for example, fen1
  27. */
  28. @property(nonatomic, strong)NSString* symbol;
  29. /**
  30. * Read message:0(Right),16(Skip),32(Duplicate),64(Readback),128(Replace)
  31. */
  32. @property(nonatomic, assign)int dp_message;
  33. /**
  34. * Duration(cn)
  35. */
  36. @property(nonatomic, assign)int time_len;
  37. /**
  38. * Phonetic array in Syll
  39. */
  40. @property(nonatomic, strong)NSMutableArray* phones;
  41. /**
  42. * Get the standard phonetic symbol of content(en)
  43. */
  44. - (NSString*) getStdSymbol;
  45. @end