ISEResult.h 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  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. @property(nonatomic,assign) float accuracy_score;
  38. @property(nonatomic,assign) float fluency_score;
  39. @property(nonatomic,assign) float integrity_score;
  40. /**
  41. * Duration(cn)
  42. */
  43. @property(nonatomic,assign)int time_len;
  44. /**
  45. * Exception info(en)
  46. */
  47. @property(nonatomic,strong)NSString* except_info;
  48. /**
  49. * Whether or not dirty read(cn)
  50. */
  51. @property(nonatomic,assign)BOOL is_rejected;
  52. /**
  53. * The lable of sentence in xml results
  54. */
  55. @property(nonatomic,strong)NSMutableArray* sentences;
  56. -(NSString*) toString;
  57. @end