ISEResult.h 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. //
  2. // ISEResult.h
  3. // IFlyMSCDemo
  4. //
  5. // Created by 张剑 on 15/3/6.
  6. //
  7. //
  8. #import <Foundation/Foundation.h>
  9. /**
  10. * ISE Result
  11. */
  12. @interface ISEResult : NSObject
  13. /**
  14. * Language:English(en)、Chinese(cn)
  15. */
  16. @property(nonatomic,strong)NSString* language;
  17. /**
  18. * Category:read_syllable(cn)、read_word、read_sentence
  19. */
  20. @property(nonatomic,strong)NSString* category;
  21. /**
  22. * Beginning of frame,10ms per frame
  23. */
  24. @property(nonatomic,assign)int beg_pos;
  25. /**
  26. * End of frame
  27. */
  28. @property(nonatomic,assign)int end_pos;
  29. /**
  30. * Content of ISE
  31. */
  32. @property(nonatomic,strong)NSString* content;
  33. /**
  34. * Total score
  35. */
  36. @property(nonatomic,assign)float total_score;
  37. /**
  38. * Duration(cn)
  39. */
  40. @property(nonatomic,assign)int time_len;
  41. /**
  42. * Exception info(en)
  43. */
  44. @property(nonatomic,strong)NSString* except_info;
  45. /**
  46. * Whether or not dirty read(cn)
  47. */
  48. @property(nonatomic,assign)BOOL is_rejected;
  49. /**
  50. * The lable of sentence in xml results
  51. */
  52. @property(nonatomic,strong)NSMutableArray* sentences;
  53. -(NSString*) toString;
  54. @end