ISEResultWord.h 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. //
  2. // ISEResultWord.h
  3. // IFlyMSCDemo
  4. //
  5. // Created by 张剑 on 15/3/6.
  6. //
  7. //
  8. #import <Foundation/Foundation.h>
  9. /**
  10. * The lable of Word in xml results
  11. */
  12. @interface ISEResultWord : 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 Word
  23. */
  24. @property(nonatomic, strong)NSString* content;
  25. /**
  26. * Read message:0(Right),16(Skip),32(Duplicate),64(Readback),128(Replace)
  27. */
  28. @property(nonatomic, assign)int dp_message;
  29. /**
  30. * The index of Word in chapter(en)
  31. */
  32. @property(nonatomic, assign)int global_index;
  33. /**
  34. * The index of Word in sentense(en)
  35. */
  36. @property(nonatomic, assign)int index;
  37. /**
  38. * Pin Yin(cn),number represents tone,5 represents light tone,for example, fen1
  39. */
  40. @property(nonatomic, strong)NSString* symbol;
  41. /**
  42. * Duration(cn)
  43. */
  44. @property(nonatomic, assign)int time_len;
  45. /**
  46. * Total score(en)
  47. */
  48. @property(nonatomic, assign)float total_score;
  49. /**
  50. * Syll array in Word
  51. */
  52. @property(nonatomic, strong)NSMutableArray* sylls;
  53. @end