MemoQAnalysis.cs 9.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341
  1. using CsvHelper.Configuration.Attributes;
  2. namespace memoQAnalysis
  3. {
  4. public class MemoQAnalysis
  5. {
  6. [Index(0)]
  7. public string File { get; set; }
  8. [Index(1)]
  9. public double CharWord { get; set; }
  10. [Index(2)]
  11. public int XtranslatedSegments { get; set; }
  12. [Index(3)]
  13. public int XtranslatedWords { get; set; }
  14. [Index(4)]
  15. public int XtranslatedCharacters { get; set; }
  16. [Index(5)]
  17. public int XtranslatedAsianCharacters { get; set; }
  18. [Index(6)]
  19. public int XtranslatedTags { get; set; }
  20. [Index(7)]
  21. public int XtranslatedReserved1 { get; set; }
  22. [Index(8)]
  23. public int XtranslatedReserved2 { get; set; }
  24. [Index(9)]
  25. public int XtranslatedReserved3 { get; set; }
  26. [Index(10)]
  27. public int HundredOneSegments { get; set; }
  28. [Index(11)]
  29. public int HundredOneWords { get; set; }
  30. [Index(12)]
  31. public int HundredOneCharacters { get; set; }
  32. [Index(13)]
  33. public int HundredOneAsianCharacters { get; set; }
  34. [Index(14)]
  35. public int HundredOneTags { get; set; }
  36. [Index(15)]
  37. public int HundredOneReserved1 { get; set; }
  38. [Index(16)]
  39. public int HundredOneReserved2 { get; set; }
  40. [Index(17)]
  41. public int HundredOneReserved3 { get; set; }
  42. [Index(18)]
  43. public int RepetitionsSegments { get; set; }
  44. [Index(19)]
  45. public int RepetitionsWords { get; set; }
  46. [Index(20)]
  47. public int RepetitionsCharacters { get; set; }
  48. [Index(21)]
  49. public int RepetitionsAsianCharacters { get; set; }
  50. [Index(22)]
  51. public int RepetitionsTags { get; set; }
  52. [Index(23)]
  53. public int RepetitionsReserved1 { get; set; }
  54. [Index(24)]
  55. public int RepetitionsReserved2 { get; set; }
  56. [Index(25)]
  57. public int RepetitionsReserved3 { get; set; }
  58. [Index(26)]
  59. public int HundredSegments { get; set; }
  60. [Index(27)]
  61. public int HundredWords { get; set; }
  62. [Index(28)]
  63. public int HundredCharacters { get; set; }
  64. [Index(29)]
  65. public int HundredAsianCharacters { get; set; }
  66. [Index(30)]
  67. public int HundredTags { get; set; }
  68. [Index(31)]
  69. public int HundredReserved1 { get; set; }
  70. [Index(32)]
  71. public int HundredReserved2 { get; set; }
  72. [Index(33)]
  73. public int HundredReserved3 { get; set; }
  74. [Index(34)]
  75. public int NinentyFiveNineSegments { get; set; }
  76. [Index(35)]
  77. public int NinentyFiveNineWords { get; set; }
  78. [Index(36)]
  79. public int NinentyFiveNineCharacters { get; set; }
  80. [Index(37)]
  81. public int NinentyFiveNineAsianCharacters { get; set; }
  82. [Index(38)]
  83. public int NinentyFiveNineTags { get; set; }
  84. [Index(39)]
  85. public int NinentyFiveNineReserved1 { get; set; }
  86. [Index(40)]
  87. public int NinentyFiveNineReserved2 { get; set; }
  88. [Index(41)]
  89. public int NinentyFiveNineReserved3 { get; set; }
  90. [Index(42)]
  91. public int EightyFiveNinentyFourSegments { get; set; }
  92. [Index(43)]
  93. public int EightyFiveNinentyFourWords { get; set; }
  94. [Index(44)]
  95. public int EightyFiveNinentyFourCharacters { get; set; }
  96. [Index(45)]
  97. public int EightyFiveNinentyFourAsianCharacters { get; set; }
  98. [Index(46)]
  99. public int EightyFiveNinentyFourTags { get; set; }
  100. [Index(47)]
  101. public int EightyFiveNinentyFourReserved1 { get; set; }
  102. [Index(48)]
  103. public int EightyFiveNinentyFourReserved2 { get; set; }
  104. [Index(49)]
  105. public int EightyFiveNinentyFourReserved3 { get; set; }
  106. [Index(50)]
  107. public int SeventyFiveEightyFourSegments { get; set; }
  108. [Index(51)]
  109. public int SeventyFiveEightyFourWords { get; set; }
  110. [Index(52)]
  111. public int SeventyFiveEightyFourCharacters { get; set; }
  112. [Index(53)]
  113. public int SeventyFiveEightyFourAsianCharacters { get; set; }
  114. [Index(54)]
  115. public int SeventyFiveEightyFourTags { get; set; }
  116. [Index(55)]
  117. public int SeventyFiveEightyFourReserved1 { get; set; }
  118. [Index(56)]
  119. public int SeventyFiveEightyFourReserved2 { get; set; }
  120. [Index(57)]
  121. public int SeventyFiveEightyFourReserved3 { get; set; }
  122. [Index(58)]
  123. public int FiftySeventyFourSegments { get; set; }
  124. [Index(59)]
  125. public int FiftySeventyFourWords { get; set; }
  126. [Index(60)]
  127. public int FiftySeventyFourCharacters { get; set; }
  128. [Index(61)]
  129. public int FiftySeventyFourAsianCharacters { get; set; }
  130. [Index(62)]
  131. public int FiftySeventyFourTags { get; set; }
  132. [Index(63)]
  133. public int FiftySeventyFourReserved1 { get; set; }
  134. [Index(64)]
  135. public int FiftySeventyFourReserved2 { get; set; }
  136. [Index(65)]
  137. public int FiftySeventyFourReserved3 { get; set; }
  138. [Index(66)]
  139. public int NoMatchSegments { get; set; }
  140. [Index(67)]
  141. public int NoMatchWords { get; set; }
  142. [Index(68)]
  143. public int NoMatchCharacters { get; set; }
  144. [Index(69)]
  145. public int NoMatchAsianCharacters { get; set; }
  146. [Index(70)]
  147. public int NoMatchTags { get; set; }
  148. [Index(71)]
  149. public int NoMatchReserved1 { get; set; }
  150. [Index(72)]
  151. public int NoMatchReserved2 { get; set; }
  152. [Index(73)]
  153. public int NoMatchReserved3 { get; set; }
  154. [Index(74)]
  155. public int FragmentsSegments { get; set; }
  156. [Index(75)]
  157. public int FragmentsWords { get; set; }
  158. [Index(76)]
  159. public int FragmentsCharacters { get; set; }
  160. [Index(77)]
  161. public int FragmentsAsianCharacters { get; set; }
  162. [Index(78)]
  163. public int FragmentsTags { get; set; }
  164. [Index(79)]
  165. public int FragmentsReserved1 { get; set; }
  166. [Index(80)]
  167. public int FragmentsReserved2 { get; set; }
  168. [Index(81)]
  169. public int FragmentsReserved3 { get; set; }
  170. [Index(82)]
  171. public int TotalSegments {
  172. get
  173. {
  174. var total = XtranslatedSegments + HundredOneSegments + RepetitionsSegments + HundredSegments +
  175. NinentyFiveNineSegments + EightyFiveNinentyFourSegments + SeventyFiveEightyFourSegments +
  176. FiftySeventyFourSegments + NoMatchSegments + FragmentsSegments;
  177. return total;
  178. }
  179. }
  180. [Index(83)]
  181. public int TotalWords {
  182. get
  183. {
  184. var total = XtranslatedWords + HundredOneWords + RepetitionsWords + HundredWords +
  185. NinentyFiveNineWords + EightyFiveNinentyFourWords + SeventyFiveEightyFourWords +
  186. FiftySeventyFourWords + NoMatchWords + FragmentsWords;
  187. return total;
  188. }
  189. }
  190. [Index(84)]
  191. public int TotalCharacters {
  192. get
  193. {
  194. var total = XtranslatedCharacters + HundredOneCharacters + RepetitionsCharacters + HundredCharacters +
  195. NinentyFiveNineCharacters + EightyFiveNinentyFourCharacters + SeventyFiveEightyFourCharacters +
  196. FiftySeventyFourCharacters + NoMatchCharacters + FragmentsCharacters;
  197. return total;
  198. }
  199. }
  200. [Index(85)]
  201. public int TotalAsianCharacters {
  202. get
  203. {
  204. var total = XtranslatedAsianCharacters + HundredOneAsianCharacters + RepetitionsAsianCharacters + HundredAsianCharacters +
  205. NinentyFiveNineAsianCharacters + EightyFiveNinentyFourAsianCharacters + SeventyFiveEightyFourAsianCharacters +
  206. FiftySeventyFourAsianCharacters + NoMatchAsianCharacters + FragmentsAsianCharacters;
  207. return total;
  208. }
  209. }
  210. [Index(86)]
  211. public int TotalTags {
  212. get
  213. {
  214. var total = XtranslatedTags + HundredOneTags + RepetitionsTags + HundredTags +
  215. NinentyFiveNineTags + EightyFiveNinentyFourTags + SeventyFiveEightyFourTags +
  216. FiftySeventyFourTags + NoMatchTags + FragmentsTags;
  217. return total;
  218. }
  219. }
  220. [Index(87)]
  221. public int TotalReserved1 {
  222. get
  223. {
  224. var total = XtranslatedReserved1 + HundredOneReserved1 + RepetitionsReserved1 + HundredReserved1 +
  225. NinentyFiveNineReserved1 + EightyFiveNinentyFourReserved1 + SeventyFiveEightyFourReserved1 +
  226. FiftySeventyFourReserved1 + NoMatchReserved1 + FragmentsReserved1;
  227. return total;
  228. }
  229. }
  230. [Index(88)]
  231. public int TotalReserved2 {
  232. get
  233. {
  234. var total = XtranslatedReserved2 + HundredOneReserved2 + RepetitionsReserved2 + HundredReserved2 +
  235. NinentyFiveNineReserved2 + EightyFiveNinentyFourReserved2 + SeventyFiveEightyFourReserved2 +
  236. FiftySeventyFourReserved2 + NoMatchReserved2 + FragmentsReserved2;
  237. return total;
  238. }
  239. }
  240. [Index(89)]
  241. public int TotalReserved3 {
  242. get
  243. {
  244. var total = XtranslatedReserved3 + HundredOneReserved3 + RepetitionsReserved3 + HundredReserved3 +
  245. NinentyFiveNineReserved3 + EightyFiveNinentyFourReserved3 + SeventyFiveEightyFourReserved3 +
  246. FiftySeventyFourReserved3 + NoMatchReserved3 + FragmentsReserved3;
  247. return total;
  248. }
  249. }
  250. }
  251. }