fasttext 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (510) hide show
  1. checksums.yaml +7 -0
  2. data/CHANGELOG.md +3 -0
  3. data/LICENSE.txt +22 -0
  4. data/README.md +251 -0
  5. data/ext/fasttext/ext.cpp +291 -0
  6. data/ext/fasttext/extconf.rb +15 -0
  7. data/lib/fasttext.rb +41 -0
  8. data/lib/fasttext/classifier.rb +92 -0
  9. data/lib/fasttext/ext.bundle +0 -0
  10. data/lib/fasttext/model.rb +60 -0
  11. data/lib/fasttext/vectorizer.rb +58 -0
  12. data/lib/fasttext/version.rb +3 -0
  13. data/vendor/fastText/CMakeLists.txt +68 -0
  14. data/vendor/fastText/CODE_OF_CONDUCT.md +2 -0
  15. data/vendor/fastText/CONTRIBUTING.md +32 -0
  16. data/vendor/fastText/LICENSE +21 -0
  17. data/vendor/fastText/MANIFEST.in +5 -0
  18. data/vendor/fastText/Makefile +63 -0
  19. data/vendor/fastText/README.md +339 -0
  20. data/vendor/fastText/alignment/README.md +53 -0
  21. data/vendor/fastText/alignment/align.py +145 -0
  22. data/vendor/fastText/alignment/eval.py +60 -0
  23. data/vendor/fastText/alignment/example.sh +51 -0
  24. data/vendor/fastText/alignment/unsup_align.py +109 -0
  25. data/vendor/fastText/alignment/utils.py +154 -0
  26. data/vendor/fastText/classification-example.sh +41 -0
  27. data/vendor/fastText/classification-results.sh +94 -0
  28. data/vendor/fastText/crawl/README.md +26 -0
  29. data/vendor/fastText/crawl/dedup.cc +51 -0
  30. data/vendor/fastText/crawl/download_crawl.sh +57 -0
  31. data/vendor/fastText/crawl/filter_dedup.sh +13 -0
  32. data/vendor/fastText/crawl/filter_utf8.cc +105 -0
  33. data/vendor/fastText/crawl/process_wet_file.sh +30 -0
  34. data/vendor/fastText/docs/aligned-vectors.md +64 -0
  35. data/vendor/fastText/docs/api.md +6 -0
  36. data/vendor/fastText/docs/cheatsheet.md +66 -0
  37. data/vendor/fastText/docs/crawl-vectors.md +125 -0
  38. data/vendor/fastText/docs/dataset.md +6 -0
  39. data/vendor/fastText/docs/english-vectors.md +53 -0
  40. data/vendor/fastText/docs/faqs.md +63 -0
  41. data/vendor/fastText/docs/language-identification.md +47 -0
  42. data/vendor/fastText/docs/options.md +50 -0
  43. data/vendor/fastText/docs/pretrained-vectors.md +142 -0
  44. data/vendor/fastText/docs/python-module.md +314 -0
  45. data/vendor/fastText/docs/references.md +41 -0
  46. data/vendor/fastText/docs/supervised-models.md +54 -0
  47. data/vendor/fastText/docs/supervised-tutorial.md +349 -0
  48. data/vendor/fastText/docs/support.md +58 -0
  49. data/vendor/fastText/docs/unsupervised-tutorials.md +309 -0
  50. data/vendor/fastText/eval.py +95 -0
  51. data/vendor/fastText/get-wikimedia.sh +79 -0
  52. data/vendor/fastText/python/README.md +322 -0
  53. data/vendor/fastText/python/README.rst +406 -0
  54. data/vendor/fastText/python/benchmarks/README.rst +3 -0
  55. data/vendor/fastText/python/benchmarks/get_word_vector.py +49 -0
  56. data/vendor/fastText/python/doc/examples/FastTextEmbeddingBag.py +81 -0
  57. data/vendor/fastText/python/doc/examples/bin_to_vec.py +41 -0
  58. data/vendor/fastText/python/doc/examples/compute_accuracy.py +163 -0
  59. data/vendor/fastText/python/doc/examples/get_vocab.py +48 -0
  60. data/vendor/fastText/python/doc/examples/train_supervised.py +42 -0
  61. data/vendor/fastText/python/doc/examples/train_unsupervised.py +56 -0
  62. data/vendor/fastText/python/fasttext_module/fasttext/FastText.py +468 -0
  63. data/vendor/fastText/python/fasttext_module/fasttext/__init__.py +22 -0
  64. data/vendor/fastText/python/fasttext_module/fasttext/pybind/fasttext_pybind.cc +388 -0
  65. data/vendor/fastText/python/fasttext_module/fasttext/tests/__init__.py +14 -0
  66. data/vendor/fastText/python/fasttext_module/fasttext/tests/test_configurations.py +239 -0
  67. data/vendor/fastText/python/fasttext_module/fasttext/tests/test_script.py +629 -0
  68. data/vendor/fastText/python/fasttext_module/fasttext/util/__init__.py +13 -0
  69. data/vendor/fastText/python/fasttext_module/fasttext/util/util.py +60 -0
  70. data/vendor/fastText/quantization-example.sh +40 -0
  71. data/vendor/fastText/runtests.py +60 -0
  72. data/vendor/fastText/scripts/kbcompletion/README.md +19 -0
  73. data/vendor/fastText/scripts/kbcompletion/data.sh +69 -0
  74. data/vendor/fastText/scripts/kbcompletion/eval.cpp +108 -0
  75. data/vendor/fastText/scripts/kbcompletion/fb15k.sh +49 -0
  76. data/vendor/fastText/scripts/kbcompletion/fb15k237.sh +45 -0
  77. data/vendor/fastText/scripts/kbcompletion/svo.sh +38 -0
  78. data/vendor/fastText/scripts/kbcompletion/wn18.sh +49 -0
  79. data/vendor/fastText/scripts/quantization/quantization-results.sh +43 -0
  80. data/vendor/fastText/setup.cfg +2 -0
  81. data/vendor/fastText/setup.py +203 -0
  82. data/vendor/fastText/src/args.cc +320 -0
  83. data/vendor/fastText/src/args.h +68 -0
  84. data/vendor/fastText/src/densematrix.cc +155 -0
  85. data/vendor/fastText/src/densematrix.h +75 -0
  86. data/vendor/fastText/src/dictionary.cc +540 -0
  87. data/vendor/fastText/src/dictionary.h +111 -0
  88. data/vendor/fastText/src/fasttext.cc +821 -0
  89. data/vendor/fastText/src/fasttext.h +191 -0
  90. data/vendor/fastText/src/loss.cc +346 -0
  91. data/vendor/fastText/src/loss.h +163 -0
  92. data/vendor/fastText/src/main.cc +435 -0
  93. data/vendor/fastText/src/matrix.cc +25 -0
  94. data/vendor/fastText/src/matrix.h +44 -0
  95. data/vendor/fastText/src/meter.cc +68 -0
  96. data/vendor/fastText/src/meter.h +69 -0
  97. data/vendor/fastText/src/model.cc +98 -0
  98. data/vendor/fastText/src/model.h +79 -0
  99. data/vendor/fastText/src/productquantizer.cc +251 -0
  100. data/vendor/fastText/src/productquantizer.h +63 -0
  101. data/vendor/fastText/src/quantmatrix.cc +117 -0
  102. data/vendor/fastText/src/quantmatrix.h +60 -0
  103. data/vendor/fastText/src/real.h +15 -0
  104. data/vendor/fastText/src/utils.cc +28 -0
  105. data/vendor/fastText/src/utils.h +43 -0
  106. data/vendor/fastText/src/vector.cc +97 -0
  107. data/vendor/fastText/src/vector.h +61 -0
  108. data/vendor/fastText/tests/fetch_test_data.sh +202 -0
  109. data/vendor/fastText/website/README.md +6 -0
  110. data/vendor/fastText/website/blog/2016-08-18-blog-post.md +42 -0
  111. data/vendor/fastText/website/blog/2017-05-02-blog-post.md +60 -0
  112. data/vendor/fastText/website/blog/2017-10-02-blog-post.md +90 -0
  113. data/vendor/fastText/website/blog/2019-06-25-blog-post.md +168 -0
  114. data/vendor/fastText/website/core/Footer.js +127 -0
  115. data/vendor/fastText/website/package.json +12 -0
  116. data/vendor/fastText/website/pages/en/index.js +286 -0
  117. data/vendor/fastText/website/sidebars.json +18 -0
  118. data/vendor/fastText/website/siteConfig.js +102 -0
  119. data/vendor/fastText/website/static/docs/en/html/annotated.html +115 -0
  120. data/vendor/fastText/website/static/docs/en/html/annotated_dup.js +4 -0
  121. data/vendor/fastText/website/static/docs/en/html/args_8cc.html +113 -0
  122. data/vendor/fastText/website/static/docs/en/html/args_8h.html +134 -0
  123. data/vendor/fastText/website/static/docs/en/html/args_8h.js +14 -0
  124. data/vendor/fastText/website/static/docs/en/html/args_8h_source.html +139 -0
  125. data/vendor/fastText/website/static/docs/en/html/bc_s.png +0 -0
  126. data/vendor/fastText/website/static/docs/en/html/bdwn.png +0 -0
  127. data/vendor/fastText/website/static/docs/en/html/classes.html +121 -0
  128. data/vendor/fastText/website/static/docs/en/html/classfasttext_1_1Args-members.html +140 -0
  129. data/vendor/fastText/website/static/docs/en/html/classfasttext_1_1Args.html +753 -0
  130. data/vendor/fastText/website/static/docs/en/html/classfasttext_1_1Args.js +40 -0
  131. data/vendor/fastText/website/static/docs/en/html/classfasttext_1_1Dictionary-members.html +148 -0
  132. data/vendor/fastText/website/static/docs/en/html/classfasttext_1_1Dictionary.html +1266 -0
  133. data/vendor/fastText/website/static/docs/en/html/classfasttext_1_1Dictionary.js +43 -0
  134. data/vendor/fastText/website/static/docs/en/html/classfasttext_1_1FastText-members.html +145 -0
  135. data/vendor/fastText/website/static/docs/en/html/classfasttext_1_1FastText.html +1149 -0
  136. data/vendor/fastText/website/static/docs/en/html/classfasttext_1_1FastText.js +45 -0
  137. data/vendor/fastText/website/static/docs/en/html/classfasttext_1_1Matrix-members.html +123 -0
  138. data/vendor/fastText/website/static/docs/en/html/classfasttext_1_1Matrix.html +610 -0
  139. data/vendor/fastText/website/static/docs/en/html/classfasttext_1_1Matrix.js +23 -0
  140. data/vendor/fastText/website/static/docs/en/html/classfasttext_1_1Model-members.html +150 -0
  141. data/vendor/fastText/website/static/docs/en/html/classfasttext_1_1Model.html +1400 -0
  142. data/vendor/fastText/website/static/docs/en/html/classfasttext_1_1Model.js +48 -0
  143. data/vendor/fastText/website/static/docs/en/html/classfasttext_1_1ProductQuantizer-members.html +131 -0
  144. data/vendor/fastText/website/static/docs/en/html/classfasttext_1_1ProductQuantizer.html +950 -0
  145. data/vendor/fastText/website/static/docs/en/html/classfasttext_1_1ProductQuantizer.js +31 -0
  146. data/vendor/fastText/website/static/docs/en/html/classfasttext_1_1QMatrix-members.html +122 -0
  147. data/vendor/fastText/website/static/docs/en/html/classfasttext_1_1QMatrix.html +565 -0
  148. data/vendor/fastText/website/static/docs/en/html/classfasttext_1_1QMatrix.js +22 -0
  149. data/vendor/fastText/website/static/docs/en/html/classfasttext_1_1Vector-members.html +121 -0
  150. data/vendor/fastText/website/static/docs/en/html/classfasttext_1_1Vector.html +542 -0
  151. data/vendor/fastText/website/static/docs/en/html/classfasttext_1_1Vector.js +21 -0
  152. data/vendor/fastText/website/static/docs/en/html/closed.png +0 -0
  153. data/vendor/fastText/website/static/docs/en/html/dictionary_8cc.html +116 -0
  154. data/vendor/fastText/website/static/docs/en/html/dictionary_8h.html +142 -0
  155. data/vendor/fastText/website/static/docs/en/html/dictionary_8h.js +10 -0
  156. data/vendor/fastText/website/static/docs/en/html/dictionary_8h_source.html +127 -0
  157. data/vendor/fastText/website/static/docs/en/html/dir_68267d1309a1af8e8297ef4c3efbcdba.html +145 -0
  158. data/vendor/fastText/website/static/docs/en/html/dir_68267d1309a1af8e8297ef4c3efbcdba.js +29 -0
  159. data/vendor/fastText/website/static/docs/en/html/doc.png +0 -0
  160. data/vendor/fastText/website/static/docs/en/html/doxygen.css +1596 -0
  161. data/vendor/fastText/website/static/docs/en/html/doxygen.png +0 -0
  162. data/vendor/fastText/website/static/docs/en/html/dynsections.js +97 -0
  163. data/vendor/fastText/website/static/docs/en/html/fasttext_8cc.html +119 -0
  164. data/vendor/fastText/website/static/docs/en/html/fasttext_8h.html +168 -0
  165. data/vendor/fastText/website/static/docs/en/html/fasttext_8h.js +6 -0
  166. data/vendor/fastText/website/static/docs/en/html/fasttext_8h_source.html +155 -0
  167. data/vendor/fastText/website/static/docs/en/html/favicon.png +0 -0
  168. data/vendor/fastText/website/static/docs/en/html/files.html +125 -0
  169. data/vendor/fastText/website/static/docs/en/html/files.js +4 -0
  170. data/vendor/fastText/website/static/docs/en/html/folderclosed.png +0 -0
  171. data/vendor/fastText/website/static/docs/en/html/folderopen.png +0 -0
  172. data/vendor/fastText/website/static/docs/en/html/functions.html +139 -0
  173. data/vendor/fastText/website/static/docs/en/html/functions_0x7e.html +112 -0
  174. data/vendor/fastText/website/static/docs/en/html/functions_b.html +115 -0
  175. data/vendor/fastText/website/static/docs/en/html/functions_c.html +143 -0
  176. data/vendor/fastText/website/static/docs/en/html/functions_d.html +135 -0
  177. data/vendor/fastText/website/static/docs/en/html/functions_dup.js +27 -0
  178. data/vendor/fastText/website/static/docs/en/html/functions_e.html +115 -0
  179. data/vendor/fastText/website/static/docs/en/html/functions_f.html +112 -0
  180. data/vendor/fastText/website/static/docs/en/html/functions_func.html +563 -0
  181. data/vendor/fastText/website/static/docs/en/html/functions_g.html +145 -0
  182. data/vendor/fastText/website/static/docs/en/html/functions_h.html +112 -0
  183. data/vendor/fastText/website/static/docs/en/html/functions_i.html +121 -0
  184. data/vendor/fastText/website/static/docs/en/html/functions_k.html +106 -0
  185. data/vendor/fastText/website/static/docs/en/html/functions_l.html +140 -0
  186. data/vendor/fastText/website/static/docs/en/html/functions_m.html +153 -0
  187. data/vendor/fastText/website/static/docs/en/html/functions_n.html +164 -0
  188. data/vendor/fastText/website/static/docs/en/html/functions_o.html +116 -0
  189. data/vendor/fastText/website/static/docs/en/html/functions_p.html +161 -0
  190. data/vendor/fastText/website/static/docs/en/html/functions_q.html +135 -0
  191. data/vendor/fastText/website/static/docs/en/html/functions_r.html +116 -0
  192. data/vendor/fastText/website/static/docs/en/html/functions_s.html +159 -0
  193. data/vendor/fastText/website/static/docs/en/html/functions_t.html +138 -0
  194. data/vendor/fastText/website/static/docs/en/html/functions_u.html +106 -0
  195. data/vendor/fastText/website/static/docs/en/html/functions_v.html +106 -0
  196. data/vendor/fastText/website/static/docs/en/html/functions_vars.html +486 -0
  197. data/vendor/fastText/website/static/docs/en/html/functions_w.html +124 -0
  198. data/vendor/fastText/website/static/docs/en/html/functions_z.html +104 -0
  199. data/vendor/fastText/website/static/docs/en/html/globals.html +170 -0
  200. data/vendor/fastText/website/static/docs/en/html/globals_defs.html +113 -0
  201. data/vendor/fastText/website/static/docs/en/html/globals_func.html +155 -0
  202. data/vendor/fastText/website/static/docs/en/html/index.html +100 -0
  203. data/vendor/fastText/website/static/docs/en/html/jquery.js +87 -0
  204. data/vendor/fastText/website/static/docs/en/html/main_8cc.html +582 -0
  205. data/vendor/fastText/website/static/docs/en/html/main_8cc.js +22 -0
  206. data/vendor/fastText/website/static/docs/en/html/matrix_8cc.html +114 -0
  207. data/vendor/fastText/website/static/docs/en/html/matrix_8h.html +121 -0
  208. data/vendor/fastText/website/static/docs/en/html/matrix_8h_source.html +123 -0
  209. data/vendor/fastText/website/static/docs/en/html/menu.js +26 -0
  210. data/vendor/fastText/website/static/docs/en/html/menudata.js +90 -0
  211. data/vendor/fastText/website/static/docs/en/html/model_8cc.html +113 -0
  212. data/vendor/fastText/website/static/docs/en/html/model_8h.html +183 -0
  213. data/vendor/fastText/website/static/docs/en/html/model_8h.js +8 -0
  214. data/vendor/fastText/website/static/docs/en/html/model_8h_source.html +139 -0
  215. data/vendor/fastText/website/static/docs/en/html/namespacefasttext.html +343 -0
  216. data/vendor/fastText/website/static/docs/en/html/namespacefasttext.js +13 -0
  217. data/vendor/fastText/website/static/docs/en/html/namespacefasttext_1_1utils.html +158 -0
  218. data/vendor/fastText/website/static/docs/en/html/namespacemembers.html +125 -0
  219. data/vendor/fastText/website/static/docs/en/html/namespacemembers_enum.html +107 -0
  220. data/vendor/fastText/website/static/docs/en/html/namespacemembers_func.html +110 -0
  221. data/vendor/fastText/website/static/docs/en/html/namespacemembers_type.html +104 -0
  222. data/vendor/fastText/website/static/docs/en/html/namespaces.html +106 -0
  223. data/vendor/fastText/website/static/docs/en/html/namespaces.js +4 -0
  224. data/vendor/fastText/website/static/docs/en/html/nav_f.png +0 -0
  225. data/vendor/fastText/website/static/docs/en/html/nav_g.png +0 -0
  226. data/vendor/fastText/website/static/docs/en/html/nav_h.png +0 -0
  227. data/vendor/fastText/website/static/docs/en/html/navtree.css +146 -0
  228. data/vendor/fastText/website/static/docs/en/html/navtree.js +517 -0
  229. data/vendor/fastText/website/static/docs/en/html/navtreedata.js +40 -0
  230. data/vendor/fastText/website/static/docs/en/html/navtreeindex0.js +253 -0
  231. data/vendor/fastText/website/static/docs/en/html/navtreeindex1.js +139 -0
  232. data/vendor/fastText/website/static/docs/en/html/open.png +0 -0
  233. data/vendor/fastText/website/static/docs/en/html/productquantizer_8cc.html +118 -0
  234. data/vendor/fastText/website/static/docs/en/html/productquantizer_8cc.js +4 -0
  235. data/vendor/fastText/website/static/docs/en/html/productquantizer_8h.html +124 -0
  236. data/vendor/fastText/website/static/docs/en/html/productquantizer_8h_source.html +133 -0
  237. data/vendor/fastText/website/static/docs/en/html/qmatrix_8cc.html +112 -0
  238. data/vendor/fastText/website/static/docs/en/html/qmatrix_8h.html +126 -0
  239. data/vendor/fastText/website/static/docs/en/html/qmatrix_8h_source.html +128 -0
  240. data/vendor/fastText/website/static/docs/en/html/real_8h.html +117 -0
  241. data/vendor/fastText/website/static/docs/en/html/real_8h.js +4 -0
  242. data/vendor/fastText/website/static/docs/en/html/real_8h_source.html +103 -0
  243. data/vendor/fastText/website/static/docs/en/html/resize.js +114 -0
  244. data/vendor/fastText/website/static/docs/en/html/search/all_0.html +26 -0
  245. data/vendor/fastText/website/static/docs/en/html/search/all_0.js +17 -0
  246. data/vendor/fastText/website/static/docs/en/html/search/all_1.html +26 -0
  247. data/vendor/fastText/website/static/docs/en/html/search/all_1.js +8 -0
  248. data/vendor/fastText/website/static/docs/en/html/search/all_10.html +26 -0
  249. data/vendor/fastText/website/static/docs/en/html/search/all_10.js +10 -0
  250. data/vendor/fastText/website/static/docs/en/html/search/all_11.html +26 -0
  251. data/vendor/fastText/website/static/docs/en/html/search/all_11.js +25 -0
  252. data/vendor/fastText/website/static/docs/en/html/search/all_12.html +26 -0
  253. data/vendor/fastText/website/static/docs/en/html/search/all_12.js +15 -0
  254. data/vendor/fastText/website/static/docs/en/html/search/all_13.html +26 -0
  255. data/vendor/fastText/website/static/docs/en/html/search/all_13.js +7 -0
  256. data/vendor/fastText/website/static/docs/en/html/search/all_14.html +26 -0
  257. data/vendor/fastText/website/static/docs/en/html/search/all_14.js +7 -0
  258. data/vendor/fastText/website/static/docs/en/html/search/all_15.html +26 -0
  259. data/vendor/fastText/website/static/docs/en/html/search/all_15.js +11 -0
  260. data/vendor/fastText/website/static/docs/en/html/search/all_16.html +26 -0
  261. data/vendor/fastText/website/static/docs/en/html/search/all_16.js +4 -0
  262. data/vendor/fastText/website/static/docs/en/html/search/all_17.html +26 -0
  263. data/vendor/fastText/website/static/docs/en/html/search/all_17.js +7 -0
  264. data/vendor/fastText/website/static/docs/en/html/search/all_2.html +26 -0
  265. data/vendor/fastText/website/static/docs/en/html/search/all_2.js +17 -0
  266. data/vendor/fastText/website/static/docs/en/html/search/all_3.html +26 -0
  267. data/vendor/fastText/website/static/docs/en/html/search/all_3.js +17 -0
  268. data/vendor/fastText/website/static/docs/en/html/search/all_4.html +26 -0
  269. data/vendor/fastText/website/static/docs/en/html/search/all_4.js +10 -0
  270. data/vendor/fastText/website/static/docs/en/html/search/all_5.html +26 -0
  271. data/vendor/fastText/website/static/docs/en/html/search/all_5.js +12 -0
  272. data/vendor/fastText/website/static/docs/en/html/search/all_6.html +26 -0
  273. data/vendor/fastText/website/static/docs/en/html/search/all_6.js +18 -0
  274. data/vendor/fastText/website/static/docs/en/html/search/all_7.html +26 -0
  275. data/vendor/fastText/website/static/docs/en/html/search/all_7.js +8 -0
  276. data/vendor/fastText/website/static/docs/en/html/search/all_8.html +26 -0
  277. data/vendor/fastText/website/static/docs/en/html/search/all_8.js +11 -0
  278. data/vendor/fastText/website/static/docs/en/html/search/all_9.html +26 -0
  279. data/vendor/fastText/website/static/docs/en/html/search/all_9.js +5 -0
  280. data/vendor/fastText/website/static/docs/en/html/search/all_a.html +26 -0
  281. data/vendor/fastText/website/static/docs/en/html/search/all_a.js +17 -0
  282. data/vendor/fastText/website/static/docs/en/html/search/all_b.html +26 -0
  283. data/vendor/fastText/website/static/docs/en/html/search/all_b.js +27 -0
  284. data/vendor/fastText/website/static/docs/en/html/search/all_c.html +26 -0
  285. data/vendor/fastText/website/static/docs/en/html/search/all_c.js +26 -0
  286. data/vendor/fastText/website/static/docs/en/html/search/all_d.html +26 -0
  287. data/vendor/fastText/website/static/docs/en/html/search/all_d.js +9 -0
  288. data/vendor/fastText/website/static/docs/en/html/search/all_e.html +26 -0
  289. data/vendor/fastText/website/static/docs/en/html/search/all_e.js +35 -0
  290. data/vendor/fastText/website/static/docs/en/html/search/all_f.html +26 -0
  291. data/vendor/fastText/website/static/docs/en/html/search/all_f.js +16 -0
  292. data/vendor/fastText/website/static/docs/en/html/search/classes_0.html +26 -0
  293. data/vendor/fastText/website/static/docs/en/html/search/classes_0.js +4 -0
  294. data/vendor/fastText/website/static/docs/en/html/search/classes_1.html +26 -0
  295. data/vendor/fastText/website/static/docs/en/html/search/classes_1.js +4 -0
  296. data/vendor/fastText/website/static/docs/en/html/search/classes_2.html +26 -0
  297. data/vendor/fastText/website/static/docs/en/html/search/classes_2.js +4 -0
  298. data/vendor/fastText/website/static/docs/en/html/search/classes_3.html +26 -0
  299. data/vendor/fastText/website/static/docs/en/html/search/classes_3.js +4 -0
  300. data/vendor/fastText/website/static/docs/en/html/search/classes_4.html +26 -0
  301. data/vendor/fastText/website/static/docs/en/html/search/classes_4.js +5 -0
  302. data/vendor/fastText/website/static/docs/en/html/search/classes_5.html +26 -0
  303. data/vendor/fastText/website/static/docs/en/html/search/classes_5.js +4 -0
  304. data/vendor/fastText/website/static/docs/en/html/search/classes_6.html +26 -0
  305. data/vendor/fastText/website/static/docs/en/html/search/classes_6.js +4 -0
  306. data/vendor/fastText/website/static/docs/en/html/search/classes_7.html +26 -0
  307. data/vendor/fastText/website/static/docs/en/html/search/classes_7.js +4 -0
  308. data/vendor/fastText/website/static/docs/en/html/search/classes_8.html +26 -0
  309. data/vendor/fastText/website/static/docs/en/html/search/classes_8.js +4 -0
  310. data/vendor/fastText/website/static/docs/en/html/search/close.png +0 -0
  311. data/vendor/fastText/website/static/docs/en/html/search/defines_0.html +26 -0
  312. data/vendor/fastText/website/static/docs/en/html/search/defines_0.js +5 -0
  313. data/vendor/fastText/website/static/docs/en/html/search/defines_1.html +26 -0
  314. data/vendor/fastText/website/static/docs/en/html/search/defines_1.js +4 -0
  315. data/vendor/fastText/website/static/docs/en/html/search/defines_2.html +26 -0
  316. data/vendor/fastText/website/static/docs/en/html/search/defines_2.js +4 -0
  317. data/vendor/fastText/website/static/docs/en/html/search/defines_3.html +26 -0
  318. data/vendor/fastText/website/static/docs/en/html/search/defines_3.js +4 -0
  319. data/vendor/fastText/website/static/docs/en/html/search/enums_0.html +26 -0
  320. data/vendor/fastText/website/static/docs/en/html/search/enums_0.js +4 -0
  321. data/vendor/fastText/website/static/docs/en/html/search/enums_1.html +26 -0
  322. data/vendor/fastText/website/static/docs/en/html/search/enums_1.js +4 -0
  323. data/vendor/fastText/website/static/docs/en/html/search/enums_2.html +26 -0
  324. data/vendor/fastText/website/static/docs/en/html/search/enums_2.js +4 -0
  325. data/vendor/fastText/website/static/docs/en/html/search/enumvalues_0.html +26 -0
  326. data/vendor/fastText/website/static/docs/en/html/search/enumvalues_0.js +4 -0
  327. data/vendor/fastText/website/static/docs/en/html/search/enumvalues_1.html +26 -0
  328. data/vendor/fastText/website/static/docs/en/html/search/enumvalues_1.js +4 -0
  329. data/vendor/fastText/website/static/docs/en/html/search/enumvalues_2.html +26 -0
  330. data/vendor/fastText/website/static/docs/en/html/search/enumvalues_2.js +4 -0
  331. data/vendor/fastText/website/static/docs/en/html/search/enumvalues_3.html +26 -0
  332. data/vendor/fastText/website/static/docs/en/html/search/enumvalues_3.js +4 -0
  333. data/vendor/fastText/website/static/docs/en/html/search/enumvalues_4.html +26 -0
  334. data/vendor/fastText/website/static/docs/en/html/search/enumvalues_4.js +6 -0
  335. data/vendor/fastText/website/static/docs/en/html/search/enumvalues_5.html +26 -0
  336. data/vendor/fastText/website/static/docs/en/html/search/enumvalues_5.js +4 -0
  337. data/vendor/fastText/website/static/docs/en/html/search/files_0.html +26 -0
  338. data/vendor/fastText/website/static/docs/en/html/search/files_0.js +5 -0
  339. data/vendor/fastText/website/static/docs/en/html/search/files_1.html +26 -0
  340. data/vendor/fastText/website/static/docs/en/html/search/files_1.js +5 -0
  341. data/vendor/fastText/website/static/docs/en/html/search/files_2.html +26 -0
  342. data/vendor/fastText/website/static/docs/en/html/search/files_2.js +5 -0
  343. data/vendor/fastText/website/static/docs/en/html/search/files_3.html +26 -0
  344. data/vendor/fastText/website/static/docs/en/html/search/files_3.js +8 -0
  345. data/vendor/fastText/website/static/docs/en/html/search/files_4.html +26 -0
  346. data/vendor/fastText/website/static/docs/en/html/search/files_4.js +5 -0
  347. data/vendor/fastText/website/static/docs/en/html/search/files_5.html +26 -0
  348. data/vendor/fastText/website/static/docs/en/html/search/files_5.js +5 -0
  349. data/vendor/fastText/website/static/docs/en/html/search/files_6.html +26 -0
  350. data/vendor/fastText/website/static/docs/en/html/search/files_6.js +4 -0
  351. data/vendor/fastText/website/static/docs/en/html/search/files_7.html +26 -0
  352. data/vendor/fastText/website/static/docs/en/html/search/files_7.js +5 -0
  353. data/vendor/fastText/website/static/docs/en/html/search/files_8.html +26 -0
  354. data/vendor/fastText/website/static/docs/en/html/search/files_8.js +5 -0
  355. data/vendor/fastText/website/static/docs/en/html/search/functions_0.html +26 -0
  356. data/vendor/fastText/website/static/docs/en/html/search/functions_0.js +14 -0
  357. data/vendor/fastText/website/static/docs/en/html/search/functions_1.html +26 -0
  358. data/vendor/fastText/website/static/docs/en/html/search/functions_1.js +5 -0
  359. data/vendor/fastText/website/static/docs/en/html/search/functions_10.html +26 -0
  360. data/vendor/fastText/website/static/docs/en/html/search/functions_10.js +5 -0
  361. data/vendor/fastText/website/static/docs/en/html/search/functions_11.html +26 -0
  362. data/vendor/fastText/website/static/docs/en/html/search/functions_11.js +18 -0
  363. data/vendor/fastText/website/static/docs/en/html/search/functions_12.html +26 -0
  364. data/vendor/fastText/website/static/docs/en/html/search/functions_12.js +8 -0
  365. data/vendor/fastText/website/static/docs/en/html/search/functions_13.html +26 -0
  366. data/vendor/fastText/website/static/docs/en/html/search/functions_13.js +5 -0
  367. data/vendor/fastText/website/static/docs/en/html/search/functions_14.html +26 -0
  368. data/vendor/fastText/website/static/docs/en/html/search/functions_14.js +4 -0
  369. data/vendor/fastText/website/static/docs/en/html/search/functions_15.html +26 -0
  370. data/vendor/fastText/website/static/docs/en/html/search/functions_15.js +4 -0
  371. data/vendor/fastText/website/static/docs/en/html/search/functions_16.html +26 -0
  372. data/vendor/fastText/website/static/docs/en/html/search/functions_16.js +4 -0
  373. data/vendor/fastText/website/static/docs/en/html/search/functions_17.html +26 -0
  374. data/vendor/fastText/website/static/docs/en/html/search/functions_17.js +7 -0
  375. data/vendor/fastText/website/static/docs/en/html/search/functions_2.html +26 -0
  376. data/vendor/fastText/website/static/docs/en/html/search/functions_2.js +11 -0
  377. data/vendor/fastText/website/static/docs/en/html/search/functions_3.html +26 -0
  378. data/vendor/fastText/website/static/docs/en/html/search/functions_3.js +9 -0
  379. data/vendor/fastText/website/static/docs/en/html/search/functions_4.html +26 -0
  380. data/vendor/fastText/website/static/docs/en/html/search/functions_4.js +4 -0
  381. data/vendor/fastText/website/static/docs/en/html/search/functions_5.html +26 -0
  382. data/vendor/fastText/website/static/docs/en/html/search/functions_5.js +7 -0
  383. data/vendor/fastText/website/static/docs/en/html/search/functions_6.html +26 -0
  384. data/vendor/fastText/website/static/docs/en/html/search/functions_6.js +17 -0
  385. data/vendor/fastText/website/static/docs/en/html/search/functions_7.html +26 -0
  386. data/vendor/fastText/website/static/docs/en/html/search/functions_7.js +5 -0
  387. data/vendor/fastText/website/static/docs/en/html/search/functions_8.html +26 -0
  388. data/vendor/fastText/website/static/docs/en/html/search/functions_8.js +8 -0
  389. data/vendor/fastText/website/static/docs/en/html/search/functions_9.html +26 -0
  390. data/vendor/fastText/website/static/docs/en/html/search/functions_9.js +4 -0
  391. data/vendor/fastText/website/static/docs/en/html/search/functions_a.html +26 -0
  392. data/vendor/fastText/website/static/docs/en/html/search/functions_a.js +8 -0
  393. data/vendor/fastText/website/static/docs/en/html/search/functions_b.html +26 -0
  394. data/vendor/fastText/website/static/docs/en/html/search/functions_b.js +10 -0
  395. data/vendor/fastText/website/static/docs/en/html/search/functions_c.html +26 -0
  396. data/vendor/fastText/website/static/docs/en/html/search/functions_c.js +10 -0
  397. data/vendor/fastText/website/static/docs/en/html/search/functions_d.html +26 -0
  398. data/vendor/fastText/website/static/docs/en/html/search/functions_d.js +6 -0
  399. data/vendor/fastText/website/static/docs/en/html/search/functions_e.html +26 -0
  400. data/vendor/fastText/website/static/docs/en/html/search/functions_e.js +26 -0
  401. data/vendor/fastText/website/static/docs/en/html/search/functions_f.html +26 -0
  402. data/vendor/fastText/website/static/docs/en/html/search/functions_f.js +6 -0
  403. data/vendor/fastText/website/static/docs/en/html/search/mag_sel.png +0 -0
  404. data/vendor/fastText/website/static/docs/en/html/search/namespaces_0.html +26 -0
  405. data/vendor/fastText/website/static/docs/en/html/search/namespaces_0.js +5 -0
  406. data/vendor/fastText/website/static/docs/en/html/search/nomatches.html +12 -0
  407. data/vendor/fastText/website/static/docs/en/html/search/search.css +271 -0
  408. data/vendor/fastText/website/static/docs/en/html/search/search.js +791 -0
  409. data/vendor/fastText/website/static/docs/en/html/search/search_l.png +0 -0
  410. data/vendor/fastText/website/static/docs/en/html/search/search_m.png +0 -0
  411. data/vendor/fastText/website/static/docs/en/html/search/search_r.png +0 -0
  412. data/vendor/fastText/website/static/docs/en/html/search/searchdata.js +42 -0
  413. data/vendor/fastText/website/static/docs/en/html/search/typedefs_0.html +26 -0
  414. data/vendor/fastText/website/static/docs/en/html/search/typedefs_0.js +4 -0
  415. data/vendor/fastText/website/static/docs/en/html/search/typedefs_1.html +26 -0
  416. data/vendor/fastText/website/static/docs/en/html/search/typedefs_1.js +4 -0
  417. data/vendor/fastText/website/static/docs/en/html/search/variables_0.html +26 -0
  418. data/vendor/fastText/website/static/docs/en/html/search/variables_0.js +4 -0
  419. data/vendor/fastText/website/static/docs/en/html/search/variables_1.html +26 -0
  420. data/vendor/fastText/website/static/docs/en/html/search/variables_1.js +6 -0
  421. data/vendor/fastText/website/static/docs/en/html/search/variables_10.html +26 -0
  422. data/vendor/fastText/website/static/docs/en/html/search/variables_10.js +8 -0
  423. data/vendor/fastText/website/static/docs/en/html/search/variables_11.html +26 -0
  424. data/vendor/fastText/website/static/docs/en/html/search/variables_11.js +11 -0
  425. data/vendor/fastText/website/static/docs/en/html/search/variables_12.html +26 -0
  426. data/vendor/fastText/website/static/docs/en/html/search/variables_12.js +4 -0
  427. data/vendor/fastText/website/static/docs/en/html/search/variables_13.html +26 -0
  428. data/vendor/fastText/website/static/docs/en/html/search/variables_13.js +10 -0
  429. data/vendor/fastText/website/static/docs/en/html/search/variables_2.html +26 -0
  430. data/vendor/fastText/website/static/docs/en/html/search/variables_2.js +9 -0
  431. data/vendor/fastText/website/static/docs/en/html/search/variables_3.html +26 -0
  432. data/vendor/fastText/website/static/docs/en/html/search/variables_3.js +9 -0
  433. data/vendor/fastText/website/static/docs/en/html/search/variables_4.html +26 -0
  434. data/vendor/fastText/website/static/docs/en/html/search/variables_4.js +7 -0
  435. data/vendor/fastText/website/static/docs/en/html/search/variables_5.html +26 -0
  436. data/vendor/fastText/website/static/docs/en/html/search/variables_5.js +4 -0
  437. data/vendor/fastText/website/static/docs/en/html/search/variables_6.html +26 -0
  438. data/vendor/fastText/website/static/docs/en/html/search/variables_6.js +5 -0
  439. data/vendor/fastText/website/static/docs/en/html/search/variables_7.html +26 -0
  440. data/vendor/fastText/website/static/docs/en/html/search/variables_7.js +5 -0
  441. data/vendor/fastText/website/static/docs/en/html/search/variables_8.html +26 -0
  442. data/vendor/fastText/website/static/docs/en/html/search/variables_8.js +4 -0
  443. data/vendor/fastText/website/static/docs/en/html/search/variables_9.html +26 -0
  444. data/vendor/fastText/website/static/docs/en/html/search/variables_9.js +10 -0
  445. data/vendor/fastText/website/static/docs/en/html/search/variables_a.html +26 -0
  446. data/vendor/fastText/website/static/docs/en/html/search/variables_a.js +14 -0
  447. data/vendor/fastText/website/static/docs/en/html/search/variables_b.html +26 -0
  448. data/vendor/fastText/website/static/docs/en/html/search/variables_b.js +17 -0
  449. data/vendor/fastText/website/static/docs/en/html/search/variables_c.html +26 -0
  450. data/vendor/fastText/website/static/docs/en/html/search/variables_c.js +6 -0
  451. data/vendor/fastText/website/static/docs/en/html/search/variables_d.html +26 -0
  452. data/vendor/fastText/website/static/docs/en/html/search/variables_d.js +10 -0
  453. data/vendor/fastText/website/static/docs/en/html/search/variables_e.html +26 -0
  454. data/vendor/fastText/website/static/docs/en/html/search/variables_e.js +11 -0
  455. data/vendor/fastText/website/static/docs/en/html/search/variables_f.html +26 -0
  456. data/vendor/fastText/website/static/docs/en/html/search/variables_f.js +6 -0
  457. data/vendor/fastText/website/static/docs/en/html/splitbar.png +0 -0
  458. data/vendor/fastText/website/static/docs/en/html/structfasttext_1_1Node-members.html +108 -0
  459. data/vendor/fastText/website/static/docs/en/html/structfasttext_1_1Node.html +194 -0
  460. data/vendor/fastText/website/static/docs/en/html/structfasttext_1_1Node.js +8 -0
  461. data/vendor/fastText/website/static/docs/en/html/structfasttext_1_1entry-members.html +107 -0
  462. data/vendor/fastText/website/static/docs/en/html/structfasttext_1_1entry.html +178 -0
  463. data/vendor/fastText/website/static/docs/en/html/structfasttext_1_1entry.js +7 -0
  464. data/vendor/fastText/website/static/docs/en/html/sync_off.png +0 -0
  465. data/vendor/fastText/website/static/docs/en/html/sync_on.png +0 -0
  466. data/vendor/fastText/website/static/docs/en/html/tab_a.png +0 -0
  467. data/vendor/fastText/website/static/docs/en/html/tab_b.png +0 -0
  468. data/vendor/fastText/website/static/docs/en/html/tab_h.png +0 -0
  469. data/vendor/fastText/website/static/docs/en/html/tab_s.png +0 -0
  470. data/vendor/fastText/website/static/docs/en/html/tabs.css +1 -0
  471. data/vendor/fastText/website/static/docs/en/html/utils_8cc.html +121 -0
  472. data/vendor/fastText/website/static/docs/en/html/utils_8cc.js +5 -0
  473. data/vendor/fastText/website/static/docs/en/html/utils_8h.html +122 -0
  474. data/vendor/fastText/website/static/docs/en/html/utils_8h.js +5 -0
  475. data/vendor/fastText/website/static/docs/en/html/utils_8h_source.html +104 -0
  476. data/vendor/fastText/website/static/docs/en/html/vector_8cc.html +121 -0
  477. data/vendor/fastText/website/static/docs/en/html/vector_8cc.js +4 -0
  478. data/vendor/fastText/website/static/docs/en/html/vector_8h.html +126 -0
  479. data/vendor/fastText/website/static/docs/en/html/vector_8h.js +5 -0
  480. data/vendor/fastText/website/static/docs/en/html/vector_8h_source.html +120 -0
  481. data/vendor/fastText/website/static/fasttext.css +48 -0
  482. data/vendor/fastText/website/static/img/authors/armand_joulin.jpg +0 -0
  483. data/vendor/fastText/website/static/img/authors/christian_puhrsch.png +0 -0
  484. data/vendor/fastText/website/static/img/authors/edouard_grave.jpeg +0 -0
  485. data/vendor/fastText/website/static/img/authors/piotr_bojanowski.jpg +0 -0
  486. data/vendor/fastText/website/static/img/authors/tomas_mikolov.jpg +0 -0
  487. data/vendor/fastText/website/static/img/blog/2016-08-18-blog-post-img1.png +0 -0
  488. data/vendor/fastText/website/static/img/blog/2016-08-18-blog-post-img2.png +0 -0
  489. data/vendor/fastText/website/static/img/blog/2017-05-02-blog-post-img1.jpg +0 -0
  490. data/vendor/fastText/website/static/img/blog/2017-05-02-blog-post-img2.jpg +0 -0
  491. data/vendor/fastText/website/static/img/blog/2017-10-02-blog-post-img1.png +0 -0
  492. data/vendor/fastText/website/static/img/cbo_vs_skipgram.png +0 -0
  493. data/vendor/fastText/website/static/img/fasttext-icon-api.png +0 -0
  494. data/vendor/fastText/website/static/img/fasttext-icon-bg-web.png +0 -0
  495. data/vendor/fastText/website/static/img/fasttext-icon-color-square.png +0 -0
  496. data/vendor/fastText/website/static/img/fasttext-icon-color-web.png +0 -0
  497. data/vendor/fastText/website/static/img/fasttext-icon-faq.png +0 -0
  498. data/vendor/fastText/website/static/img/fasttext-icon-tutorial.png +0 -0
  499. data/vendor/fastText/website/static/img/fasttext-icon-white-web.png +0 -0
  500. data/vendor/fastText/website/static/img/fasttext-logo-color-web.png +0 -0
  501. data/vendor/fastText/website/static/img/fasttext-logo-white-web.png +0 -0
  502. data/vendor/fastText/website/static/img/logo-color.png +0 -0
  503. data/vendor/fastText/website/static/img/model-black.png +0 -0
  504. data/vendor/fastText/website/static/img/model-blue.png +0 -0
  505. data/vendor/fastText/website/static/img/model-red.png +0 -0
  506. data/vendor/fastText/website/static/img/ogimage.png +0 -0
  507. data/vendor/fastText/website/static/img/oss_logo.png +0 -0
  508. data/vendor/fastText/wikifil.pl +57 -0
  509. data/vendor/fastText/word-vector-example.sh +39 -0
  510. metadata +621 -0
@@ -0,0 +1,48 @@
1
+ var classfasttext_1_1Model =
2
+ [
3
+ [ "Model", "classfasttext_1_1Model.html#a63f17ed51e4a9adf73322bf62d2cf338", null ],
4
+ [ "~Model", "classfasttext_1_1Model.html#a70b5bdc423e9f351f2a4b2e0f5411e72", null ],
5
+ [ "binaryLogistic", "classfasttext_1_1Model.html#a953cbd5ace20826dcc1453bb94e99de0", null ],
6
+ [ "buildTree", "classfasttext_1_1Model.html#aadfc3b7eb7bbe05f024fbfb67ea25ffd", null ],
7
+ [ "computeHidden", "classfasttext_1_1Model.html#ae561523a8c81dd60d9bbe10336f83110", null ],
8
+ [ "computeOutputSoftmax", "classfasttext_1_1Model.html#a00f5b7ed6e10c2bafa29919136c471f6", null ],
9
+ [ "computeOutputSoftmax", "classfasttext_1_1Model.html#af48ca152068185f0bd31746be56c03bd", null ],
10
+ [ "dfs", "classfasttext_1_1Model.html#a16ffdb3fcd27fa51f6b435b3be762a77", null ],
11
+ [ "findKBest", "classfasttext_1_1Model.html#ad95e1ec209c506cf6ec1a5410d6f91d5", null ],
12
+ [ "getLoss", "classfasttext_1_1Model.html#adab141691a82b572ab80f6bbb5ded6d1", null ],
13
+ [ "getNegative", "classfasttext_1_1Model.html#a572a3c164d6e88120a8384330e2834dc", null ],
14
+ [ "hierarchicalSoftmax", "classfasttext_1_1Model.html#ad0a3a28007e2dfe2f36c5159c86d4c51", null ],
15
+ [ "initLog", "classfasttext_1_1Model.html#abf8bafb8fc35c220bf961893bf459c07", null ],
16
+ [ "initSigmoid", "classfasttext_1_1Model.html#ab64ec566b2fc836050ef178ec11df780", null ],
17
+ [ "initTableNegatives", "classfasttext_1_1Model.html#a03859cabcddafddfdb7e6d8862e2ae6c", null ],
18
+ [ "log", "classfasttext_1_1Model.html#af797332e236982f2570a3b94b686e816", null ],
19
+ [ "negativeSampling", "classfasttext_1_1Model.html#a670d5e0695fe61398ec4a2352c897660", null ],
20
+ [ "predict", "classfasttext_1_1Model.html#aa7c62c0f736b4703c9d52130a3747d86", null ],
21
+ [ "predict", "classfasttext_1_1Model.html#a6e7ad347856d6d9b6994a4263e10585a", null ],
22
+ [ "setQuantizePointer", "classfasttext_1_1Model.html#adb25aef3feb355ebf781e104e3065713", null ],
23
+ [ "setTargetCounts", "classfasttext_1_1Model.html#a8026fcbe9d5b566ab5ca97e104512f0b", null ],
24
+ [ "sigmoid", "classfasttext_1_1Model.html#a408d1426eb8aaf78a873bb4edd7d7dbf", null ],
25
+ [ "softmax", "classfasttext_1_1Model.html#aded1fd701066b50be1e74f64d5b81a0e", null ],
26
+ [ "update", "classfasttext_1_1Model.html#ad92f524e3bf61598602c588408ca934b", null ],
27
+ [ "args_", "classfasttext_1_1Model.html#a76314e94e2582e9e2160bcfd9c75ba99", null ],
28
+ [ "codes", "classfasttext_1_1Model.html#ab6675d265df22787dfa9835196300d3b", null ],
29
+ [ "grad_", "classfasttext_1_1Model.html#a79bd4bcbd2e6f10c5483249dfea74e97", null ],
30
+ [ "hidden_", "classfasttext_1_1Model.html#a31e9eee86f238bd2962569be67444e79", null ],
31
+ [ "hsz_", "classfasttext_1_1Model.html#a0b7f9ccdcdb6e44c0515b46af829bc19", null ],
32
+ [ "loss_", "classfasttext_1_1Model.html#a3cc48ada470c99ef69840cf79967616e", null ],
33
+ [ "negatives", "classfasttext_1_1Model.html#a082187d7f01c243f296084878ea0e0f1", null ],
34
+ [ "negpos", "classfasttext_1_1Model.html#afaf1104f9e1c382c3eb30ca41311e84f", null ],
35
+ [ "nexamples_", "classfasttext_1_1Model.html#aeec9f08e7775bfcab322960fc80d7621", null ],
36
+ [ "osz_", "classfasttext_1_1Model.html#a39799429dd196a7ec7e4bdee63087751", null ],
37
+ [ "output_", "classfasttext_1_1Model.html#a845160e4cdb0e8c17b74f269563dc71c", null ],
38
+ [ "paths", "classfasttext_1_1Model.html#a0ff68cfe9333feff1f8914f3787b1b5f", null ],
39
+ [ "quant_", "classfasttext_1_1Model.html#a0d3b51a1c171314b879aae52c3717a43", null ],
40
+ [ "qwi_", "classfasttext_1_1Model.html#ac9524ea5200abefdd2d83e29ffaa9693", null ],
41
+ [ "qwo_", "classfasttext_1_1Model.html#a4ee087454e830b18c22a59ae9bb6fcf1", null ],
42
+ [ "rng", "classfasttext_1_1Model.html#a7e27d2fd2800dcee09ea8101fea49676", null ],
43
+ [ "t_log", "classfasttext_1_1Model.html#a790013d8e68ed70db7074c9d3e262170", null ],
44
+ [ "t_sigmoid", "classfasttext_1_1Model.html#a8df9424c08479931b6351844be3bd090", null ],
45
+ [ "tree", "classfasttext_1_1Model.html#a53a03f49121369e4100ceb6ab06f178a", null ],
46
+ [ "wi_", "classfasttext_1_1Model.html#ae7c72e4f6b9fda134708d08efb0170e2", null ],
47
+ [ "wo_", "classfasttext_1_1Model.html#ad6b3771605106e55bb132be316ec34b9", null ]
48
+ ];
@@ -0,0 +1,131 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+ <meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+ <meta name="generator" content="Doxygen 1.8.13"/>
7
+ <meta name="viewport" content="width=device-width, initial-scale=1"/>
8
+ <title>fastText: Member List</title>
9
+ <link href="tabs.css" rel="stylesheet" type="text/css"/>
10
+ <script type="text/javascript" src="jquery.js"></script>
11
+ <script type="text/javascript" src="dynsections.js"></script>
12
+ <link href="navtree.css" rel="stylesheet" type="text/css"/>
13
+ <script type="text/javascript" src="resize.js"></script>
14
+ <script type="text/javascript" src="navtreedata.js"></script>
15
+ <script type="text/javascript" src="navtree.js"></script>
16
+ <script type="text/javascript">
17
+ $(document).ready(initResizable);
18
+ </script>
19
+ <link href="search/search.css" rel="stylesheet" type="text/css"/>
20
+ <script type="text/javascript" src="search/searchdata.js"></script>
21
+ <script type="text/javascript" src="search/search.js"></script>
22
+ <link href="doxygen.css" rel="stylesheet" type="text/css" />
23
+ </head>
24
+ <body>
25
+ <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
26
+ <div id="titlearea">
27
+ <table cellspacing="0" cellpadding="0">
28
+ <tbody>
29
+ <tr style="height: 56px;">
30
+ <td id="projectlogo"><img alt="Logo" src="favicon.png"/></td>
31
+ <td id="projectalign" style="padding-left: 0.5em;">
32
+ <div id="projectname">fastText
33
+ &#160;<span id="projectnumber">d00d36476b15</span>
34
+ </div>
35
+ <div id="projectbrief">Fast text processing tool/library</div>
36
+ </td>
37
+ </tr>
38
+ </tbody>
39
+ </table>
40
+ </div>
41
+ <!-- end header part -->
42
+ <!-- Generated by Doxygen 1.8.13 -->
43
+ <script type="text/javascript">
44
+ var searchBox = new SearchBox("searchBox", "search",false,'Search');
45
+ </script>
46
+ <script type="text/javascript" src="menudata.js"></script>
47
+ <script type="text/javascript" src="menu.js"></script>
48
+ <script type="text/javascript">
49
+ $(function() {
50
+ initMenu('',true,false,'search.php','Search');
51
+ $(document).ready(function() { init_search(); });
52
+ });
53
+ </script>
54
+ <div id="main-nav"></div>
55
+ </div><!-- top -->
56
+ <div id="side-nav" class="ui-resizable side-nav-resizable">
57
+ <div id="nav-tree">
58
+ <div id="nav-tree-contents">
59
+ <div id="nav-sync" class="sync"></div>
60
+ </div>
61
+ </div>
62
+ <div id="splitbar" style="-moz-user-select:none;"
63
+ class="ui-resizable-handle">
64
+ </div>
65
+ </div>
66
+ <script type="text/javascript">
67
+ $(document).ready(function(){initNavTree('classfasttext_1_1ProductQuantizer.html','');});
68
+ </script>
69
+ <div id="doc-content">
70
+ <!-- window showing the filter options -->
71
+ <div id="MSearchSelectWindow"
72
+ onmouseover="return searchBox.OnSearchSelectShow()"
73
+ onmouseout="return searchBox.OnSearchSelectHide()"
74
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
75
+ </div>
76
+
77
+ <!-- iframe showing the search results (closed by default) -->
78
+ <div id="MSearchResultsWindow">
79
+ <iframe src="javascript:void(0)" frameborder="0"
80
+ name="MSearchResults" id="MSearchResults">
81
+ </iframe>
82
+ </div>
83
+
84
+ <div class="header">
85
+ <div class="headertitle">
86
+ <div class="title">fasttext::ProductQuantizer Member List</div> </div>
87
+ </div><!--header-->
88
+ <div class="contents">
89
+
90
+ <p>This is the complete list of members for <a class="el" href="classfasttext_1_1ProductQuantizer.html">fasttext::ProductQuantizer</a>, including all inherited members.</p>
91
+ <table class="directory">
92
+ <tr class="even"><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html#ac0039e0eccfc7dc15ddb3be3bac0fec3">addcode</a>(Vector &amp;, const uint8_t *, int32_t, real) const</td><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html">fasttext::ProductQuantizer</a></td><td class="entry"></td></tr>
93
+ <tr><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html#aa957e4e92eb6111152f6e34b0b4a27cd">assign_centroid</a>(const real *, const real *, uint8_t *, int32_t) const</td><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html">fasttext::ProductQuantizer</a></td><td class="entry"></td></tr>
94
+ <tr class="even"><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a56ed1ae67f47e95f2d1f4c6146d4913a">centroids_</a></td><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html">fasttext::ProductQuantizer</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
95
+ <tr><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a1b6fedf0a199ed0ec1afc2aea26a4b37">compute_code</a>(const real *, uint8_t *) const</td><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html">fasttext::ProductQuantizer</a></td><td class="entry"></td></tr>
96
+ <tr class="even"><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html#aca0eb5cd10d5bba60b4f3f37f87676f6">compute_codes</a>(const real *, uint8_t *, int32_t) const</td><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html">fasttext::ProductQuantizer</a></td><td class="entry"></td></tr>
97
+ <tr><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html#afdeec3948e983b1f3e1e36292153e300">dim_</a></td><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html">fasttext::ProductQuantizer</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
98
+ <tr class="even"><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a9221f241be27487c671bbbba7a84b389">dsub_</a></td><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html">fasttext::ProductQuantizer</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
99
+ <tr><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a2334f23eb94911fa4b528a584eb7f7e4">eps_</a></td><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html">fasttext::ProductQuantizer</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
100
+ <tr class="even"><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html#aeba73a087e59f504472063db0a217e84">Estep</a>(const real *, const real *, uint8_t *, int32_t, int32_t) const</td><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html">fasttext::ProductQuantizer</a></td><td class="entry"></td></tr>
101
+ <tr><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html#adb6a2ade7e4a77d7b59f03c081d11d91">get_centroids</a>(int32_t, uint8_t)</td><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html">fasttext::ProductQuantizer</a></td><td class="entry"></td></tr>
102
+ <tr class="even"><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a4f7b2b81820abc0c577a89a768ef3347">get_centroids</a>(int32_t, uint8_t) const</td><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html">fasttext::ProductQuantizer</a></td><td class="entry"></td></tr>
103
+ <tr><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a06c91357dc88225714daa10548525352">kmeans</a>(const real *, real *, int32_t, int32_t)</td><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html">fasttext::ProductQuantizer</a></td><td class="entry"></td></tr>
104
+ <tr class="even"><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html#afa68c0f82fab09a93c2024a4dceecdf7">ksub_</a></td><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html">fasttext::ProductQuantizer</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
105
+ <tr><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html#ae79be52ccbb6230ce129234e150bc826">lastdsub_</a></td><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html">fasttext::ProductQuantizer</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
106
+ <tr class="even"><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a4060617809c0099a9e5ca73ec0497056">load</a>(std::istream &amp;)</td><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html">fasttext::ProductQuantizer</a></td><td class="entry"></td></tr>
107
+ <tr><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a38780ae9c1997722683bb43d55ece633">max_points_</a></td><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html">fasttext::ProductQuantizer</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
108
+ <tr class="even"><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html#ad439c3fefe554fa05f2b1d06ddcd77b6">max_points_per_cluster_</a></td><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html">fasttext::ProductQuantizer</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
109
+ <tr><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a5f6cc5e957f5546523aea7dd9e826f25">MStep</a>(const real *, real *, const uint8_t *, int32_t, int32_t)</td><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html">fasttext::ProductQuantizer</a></td><td class="entry"></td></tr>
110
+ <tr class="even"><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a82e0fb5da37c5c6a62d6f9f6d34d91d6">mulcode</a>(const Vector &amp;, const uint8_t *, int32_t, real) const</td><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html">fasttext::ProductQuantizer</a></td><td class="entry"></td></tr>
111
+ <tr><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html#ac44db00342a54cb05df9d0c136a8633c">nbits_</a></td><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html">fasttext::ProductQuantizer</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
112
+ <tr class="even"><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html#afa968d226983fbebfd2bb9d80bf6571f">niter_</a></td><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html">fasttext::ProductQuantizer</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
113
+ <tr><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a1e09b5c96869b0b4758348b976152309">nsubq_</a></td><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html">fasttext::ProductQuantizer</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
114
+ <tr class="even"><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a08b62937f9073fb4d95f161da7121850">ProductQuantizer</a>()</td><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html">fasttext::ProductQuantizer</a></td><td class="entry"><span class="mlabel">inline</span></td></tr>
115
+ <tr><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a8563da401dbfaa98983ef0c92f92a18f">ProductQuantizer</a>(int32_t, int32_t)</td><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html">fasttext::ProductQuantizer</a></td><td class="entry"></td></tr>
116
+ <tr class="even"><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html#af5755b1c5ed3128430f1c1de2c03ac26">rng</a></td><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html">fasttext::ProductQuantizer</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
117
+ <tr><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a6e4d58883fb38225c6f4731770b89274">save</a>(std::ostream &amp;)</td><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html">fasttext::ProductQuantizer</a></td><td class="entry"></td></tr>
118
+ <tr class="even"><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html#ae71f8417a9265bdee493edfa6139d757">seed_</a></td><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html">fasttext::ProductQuantizer</a></td><td class="entry"><span class="mlabel">private</span></td></tr>
119
+ <tr><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a40e3090d1f7e525c3e9787d9856d3b7d">train</a>(int, const real *)</td><td class="entry"><a class="el" href="classfasttext_1_1ProductQuantizer.html">fasttext::ProductQuantizer</a></td><td class="entry"></td></tr>
120
+ </table></div><!-- contents -->
121
+ </div><!-- doc-content -->
122
+ <!-- start footer part -->
123
+ <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
124
+ <ul>
125
+ <li class="footer">Generated by
126
+ <a href="http://www.doxygen.org/index.html">
127
+ <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
128
+ </ul>
129
+ </div>
130
+ </body>
131
+ </html>
@@ -0,0 +1,950 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml">
3
+ <head>
4
+ <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
5
+ <meta http-equiv="X-UA-Compatible" content="IE=9"/>
6
+ <meta name="generator" content="Doxygen 1.8.13"/>
7
+ <meta name="viewport" content="width=device-width, initial-scale=1"/>
8
+ <title>fastText: fasttext::ProductQuantizer Class Reference</title>
9
+ <link href="tabs.css" rel="stylesheet" type="text/css"/>
10
+ <script type="text/javascript" src="jquery.js"></script>
11
+ <script type="text/javascript" src="dynsections.js"></script>
12
+ <link href="navtree.css" rel="stylesheet" type="text/css"/>
13
+ <script type="text/javascript" src="resize.js"></script>
14
+ <script type="text/javascript" src="navtreedata.js"></script>
15
+ <script type="text/javascript" src="navtree.js"></script>
16
+ <script type="text/javascript">
17
+ $(document).ready(initResizable);
18
+ </script>
19
+ <link href="search/search.css" rel="stylesheet" type="text/css"/>
20
+ <script type="text/javascript" src="search/searchdata.js"></script>
21
+ <script type="text/javascript" src="search/search.js"></script>
22
+ <link href="doxygen.css" rel="stylesheet" type="text/css" />
23
+ </head>
24
+ <body>
25
+ <div id="top"><!-- do not remove this div, it is closed by doxygen! -->
26
+ <div id="titlearea">
27
+ <table cellspacing="0" cellpadding="0">
28
+ <tbody>
29
+ <tr style="height: 56px;">
30
+ <td id="projectlogo"><img alt="Logo" src="favicon.png"/></td>
31
+ <td id="projectalign" style="padding-left: 0.5em;">
32
+ <div id="projectname">fastText
33
+ &#160;<span id="projectnumber">d00d36476b15</span>
34
+ </div>
35
+ <div id="projectbrief">Fast text processing tool/library</div>
36
+ </td>
37
+ </tr>
38
+ </tbody>
39
+ </table>
40
+ </div>
41
+ <!-- end header part -->
42
+ <!-- Generated by Doxygen 1.8.13 -->
43
+ <script type="text/javascript">
44
+ var searchBox = new SearchBox("searchBox", "search",false,'Search');
45
+ </script>
46
+ <script type="text/javascript" src="menudata.js"></script>
47
+ <script type="text/javascript" src="menu.js"></script>
48
+ <script type="text/javascript">
49
+ $(function() {
50
+ initMenu('',true,false,'search.php','Search');
51
+ $(document).ready(function() { init_search(); });
52
+ });
53
+ </script>
54
+ <div id="main-nav"></div>
55
+ </div><!-- top -->
56
+ <div id="side-nav" class="ui-resizable side-nav-resizable">
57
+ <div id="nav-tree">
58
+ <div id="nav-tree-contents">
59
+ <div id="nav-sync" class="sync"></div>
60
+ </div>
61
+ </div>
62
+ <div id="splitbar" style="-moz-user-select:none;"
63
+ class="ui-resizable-handle">
64
+ </div>
65
+ </div>
66
+ <script type="text/javascript">
67
+ $(document).ready(function(){initNavTree('classfasttext_1_1ProductQuantizer.html','');});
68
+ </script>
69
+ <div id="doc-content">
70
+ <!-- window showing the filter options -->
71
+ <div id="MSearchSelectWindow"
72
+ onmouseover="return searchBox.OnSearchSelectShow()"
73
+ onmouseout="return searchBox.OnSearchSelectHide()"
74
+ onkeydown="return searchBox.OnSearchSelectKey(event)">
75
+ </div>
76
+
77
+ <!-- iframe showing the search results (closed by default) -->
78
+ <div id="MSearchResultsWindow">
79
+ <iframe src="javascript:void(0)" frameborder="0"
80
+ name="MSearchResults" id="MSearchResults">
81
+ </iframe>
82
+ </div>
83
+
84
+ <div class="header">
85
+ <div class="summary">
86
+ <a href="#pub-methods">Public Member Functions</a> &#124;
87
+ <a href="#pri-attribs">Private Attributes</a> &#124;
88
+ <a href="classfasttext_1_1ProductQuantizer-members.html">List of all members</a> </div>
89
+ <div class="headertitle">
90
+ <div class="title">fasttext::ProductQuantizer Class Reference</div> </div>
91
+ </div><!--header-->
92
+ <div class="contents">
93
+
94
+ <p><code>#include &lt;<a class="el" href="productquantizer_8h_source.html">productquantizer.h</a>&gt;</code></p>
95
+ <table class="memberdecls">
96
+ <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
97
+ Public Member Functions</h2></td></tr>
98
+ <tr class="memitem:a08b62937f9073fb4d95f161da7121850"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a08b62937f9073fb4d95f161da7121850">ProductQuantizer</a> ()</td></tr>
99
+ <tr class="separator:a08b62937f9073fb4d95f161da7121850"><td class="memSeparator" colspan="2">&#160;</td></tr>
100
+ <tr class="memitem:a8563da401dbfaa98983ef0c92f92a18f"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a8563da401dbfaa98983ef0c92f92a18f">ProductQuantizer</a> (int32_t, int32_t)</td></tr>
101
+ <tr class="separator:a8563da401dbfaa98983ef0c92f92a18f"><td class="memSeparator" colspan="2">&#160;</td></tr>
102
+ <tr class="memitem:adb6a2ade7e4a77d7b59f03c081d11d91"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfasttext_1_1ProductQuantizer.html#adb6a2ade7e4a77d7b59f03c081d11d91">get_centroids</a> (int32_t, uint8_t)</td></tr>
103
+ <tr class="separator:adb6a2ade7e4a77d7b59f03c081d11d91"><td class="memSeparator" colspan="2">&#160;</td></tr>
104
+ <tr class="memitem:a4f7b2b81820abc0c577a89a768ef3347"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a4f7b2b81820abc0c577a89a768ef3347">get_centroids</a> (int32_t, uint8_t) const</td></tr>
105
+ <tr class="separator:a4f7b2b81820abc0c577a89a768ef3347"><td class="memSeparator" colspan="2">&#160;</td></tr>
106
+ <tr class="memitem:aa957e4e92eb6111152f6e34b0b4a27cd"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfasttext_1_1ProductQuantizer.html#aa957e4e92eb6111152f6e34b0b4a27cd">assign_centroid</a> (const <a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> *, const <a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> *, uint8_t *, int32_t) const</td></tr>
107
+ <tr class="separator:aa957e4e92eb6111152f6e34b0b4a27cd"><td class="memSeparator" colspan="2">&#160;</td></tr>
108
+ <tr class="memitem:aeba73a087e59f504472063db0a217e84"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfasttext_1_1ProductQuantizer.html#aeba73a087e59f504472063db0a217e84">Estep</a> (const <a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> *, const <a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> *, uint8_t *, int32_t, int32_t) const</td></tr>
109
+ <tr class="separator:aeba73a087e59f504472063db0a217e84"><td class="memSeparator" colspan="2">&#160;</td></tr>
110
+ <tr class="memitem:a5f6cc5e957f5546523aea7dd9e826f25"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a5f6cc5e957f5546523aea7dd9e826f25">MStep</a> (const <a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> *, <a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> *, const uint8_t *, int32_t, int32_t)</td></tr>
111
+ <tr class="separator:a5f6cc5e957f5546523aea7dd9e826f25"><td class="memSeparator" colspan="2">&#160;</td></tr>
112
+ <tr class="memitem:a06c91357dc88225714daa10548525352"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a06c91357dc88225714daa10548525352">kmeans</a> (const <a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> *, <a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> *, int32_t, int32_t)</td></tr>
113
+ <tr class="separator:a06c91357dc88225714daa10548525352"><td class="memSeparator" colspan="2">&#160;</td></tr>
114
+ <tr class="memitem:a40e3090d1f7e525c3e9787d9856d3b7d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a40e3090d1f7e525c3e9787d9856d3b7d">train</a> (int, const <a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> *)</td></tr>
115
+ <tr class="separator:a40e3090d1f7e525c3e9787d9856d3b7d"><td class="memSeparator" colspan="2">&#160;</td></tr>
116
+ <tr class="memitem:a82e0fb5da37c5c6a62d6f9f6d34d91d6"><td class="memItemLeft" align="right" valign="top"><a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a82e0fb5da37c5c6a62d6f9f6d34d91d6">mulcode</a> (const <a class="el" href="classfasttext_1_1Vector.html">Vector</a> &amp;, const uint8_t *, int32_t, <a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a>) const</td></tr>
117
+ <tr class="separator:a82e0fb5da37c5c6a62d6f9f6d34d91d6"><td class="memSeparator" colspan="2">&#160;</td></tr>
118
+ <tr class="memitem:ac0039e0eccfc7dc15ddb3be3bac0fec3"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfasttext_1_1ProductQuantizer.html#ac0039e0eccfc7dc15ddb3be3bac0fec3">addcode</a> (<a class="el" href="classfasttext_1_1Vector.html">Vector</a> &amp;, const uint8_t *, int32_t, <a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a>) const</td></tr>
119
+ <tr class="separator:ac0039e0eccfc7dc15ddb3be3bac0fec3"><td class="memSeparator" colspan="2">&#160;</td></tr>
120
+ <tr class="memitem:a1b6fedf0a199ed0ec1afc2aea26a4b37"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a1b6fedf0a199ed0ec1afc2aea26a4b37">compute_code</a> (const <a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> *, uint8_t *) const</td></tr>
121
+ <tr class="separator:a1b6fedf0a199ed0ec1afc2aea26a4b37"><td class="memSeparator" colspan="2">&#160;</td></tr>
122
+ <tr class="memitem:aca0eb5cd10d5bba60b4f3f37f87676f6"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfasttext_1_1ProductQuantizer.html#aca0eb5cd10d5bba60b4f3f37f87676f6">compute_codes</a> (const <a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> *, uint8_t *, int32_t) const</td></tr>
123
+ <tr class="separator:aca0eb5cd10d5bba60b4f3f37f87676f6"><td class="memSeparator" colspan="2">&#160;</td></tr>
124
+ <tr class="memitem:a6e4d58883fb38225c6f4731770b89274"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a6e4d58883fb38225c6f4731770b89274">save</a> (std::ostream &amp;)</td></tr>
125
+ <tr class="separator:a6e4d58883fb38225c6f4731770b89274"><td class="memSeparator" colspan="2">&#160;</td></tr>
126
+ <tr class="memitem:a4060617809c0099a9e5ca73ec0497056"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a4060617809c0099a9e5ca73ec0497056">load</a> (std::istream &amp;)</td></tr>
127
+ <tr class="separator:a4060617809c0099a9e5ca73ec0497056"><td class="memSeparator" colspan="2">&#160;</td></tr>
128
+ </table><table class="memberdecls">
129
+ <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
130
+ Private Attributes</h2></td></tr>
131
+ <tr class="memitem:ac44db00342a54cb05df9d0c136a8633c"><td class="memItemLeft" align="right" valign="top">const int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfasttext_1_1ProductQuantizer.html#ac44db00342a54cb05df9d0c136a8633c">nbits_</a> = 8</td></tr>
132
+ <tr class="separator:ac44db00342a54cb05df9d0c136a8633c"><td class="memSeparator" colspan="2">&#160;</td></tr>
133
+ <tr class="memitem:afa68c0f82fab09a93c2024a4dceecdf7"><td class="memItemLeft" align="right" valign="top">const int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfasttext_1_1ProductQuantizer.html#afa68c0f82fab09a93c2024a4dceecdf7">ksub_</a> = 1 &lt;&lt; <a class="el" href="classfasttext_1_1ProductQuantizer.html#ac44db00342a54cb05df9d0c136a8633c">nbits_</a></td></tr>
134
+ <tr class="separator:afa68c0f82fab09a93c2024a4dceecdf7"><td class="memSeparator" colspan="2">&#160;</td></tr>
135
+ <tr class="memitem:ad439c3fefe554fa05f2b1d06ddcd77b6"><td class="memItemLeft" align="right" valign="top">const int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfasttext_1_1ProductQuantizer.html#ad439c3fefe554fa05f2b1d06ddcd77b6">max_points_per_cluster_</a> = 256</td></tr>
136
+ <tr class="separator:ad439c3fefe554fa05f2b1d06ddcd77b6"><td class="memSeparator" colspan="2">&#160;</td></tr>
137
+ <tr class="memitem:a38780ae9c1997722683bb43d55ece633"><td class="memItemLeft" align="right" valign="top">const int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a38780ae9c1997722683bb43d55ece633">max_points_</a> = <a class="el" href="classfasttext_1_1ProductQuantizer.html#ad439c3fefe554fa05f2b1d06ddcd77b6">max_points_per_cluster_</a> * <a class="el" href="classfasttext_1_1ProductQuantizer.html#afa68c0f82fab09a93c2024a4dceecdf7">ksub_</a></td></tr>
138
+ <tr class="separator:a38780ae9c1997722683bb43d55ece633"><td class="memSeparator" colspan="2">&#160;</td></tr>
139
+ <tr class="memitem:ae71f8417a9265bdee493edfa6139d757"><td class="memItemLeft" align="right" valign="top">const int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfasttext_1_1ProductQuantizer.html#ae71f8417a9265bdee493edfa6139d757">seed_</a> = 1234</td></tr>
140
+ <tr class="separator:ae71f8417a9265bdee493edfa6139d757"><td class="memSeparator" colspan="2">&#160;</td></tr>
141
+ <tr class="memitem:afa968d226983fbebfd2bb9d80bf6571f"><td class="memItemLeft" align="right" valign="top">const int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfasttext_1_1ProductQuantizer.html#afa968d226983fbebfd2bb9d80bf6571f">niter_</a> = 25</td></tr>
142
+ <tr class="separator:afa968d226983fbebfd2bb9d80bf6571f"><td class="memSeparator" colspan="2">&#160;</td></tr>
143
+ <tr class="memitem:a2334f23eb94911fa4b528a584eb7f7e4"><td class="memItemLeft" align="right" valign="top">const <a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a2334f23eb94911fa4b528a584eb7f7e4">eps_</a> = 1e-7</td></tr>
144
+ <tr class="separator:a2334f23eb94911fa4b528a584eb7f7e4"><td class="memSeparator" colspan="2">&#160;</td></tr>
145
+ <tr class="memitem:afdeec3948e983b1f3e1e36292153e300"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfasttext_1_1ProductQuantizer.html#afdeec3948e983b1f3e1e36292153e300">dim_</a></td></tr>
146
+ <tr class="separator:afdeec3948e983b1f3e1e36292153e300"><td class="memSeparator" colspan="2">&#160;</td></tr>
147
+ <tr class="memitem:a1e09b5c96869b0b4758348b976152309"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a1e09b5c96869b0b4758348b976152309">nsubq_</a></td></tr>
148
+ <tr class="separator:a1e09b5c96869b0b4758348b976152309"><td class="memSeparator" colspan="2">&#160;</td></tr>
149
+ <tr class="memitem:a9221f241be27487c671bbbba7a84b389"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a9221f241be27487c671bbbba7a84b389">dsub_</a></td></tr>
150
+ <tr class="separator:a9221f241be27487c671bbbba7a84b389"><td class="memSeparator" colspan="2">&#160;</td></tr>
151
+ <tr class="memitem:ae79be52ccbb6230ce129234e150bc826"><td class="memItemLeft" align="right" valign="top">int32_t&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfasttext_1_1ProductQuantizer.html#ae79be52ccbb6230ce129234e150bc826">lastdsub_</a></td></tr>
152
+ <tr class="separator:ae79be52ccbb6230ce129234e150bc826"><td class="memSeparator" colspan="2">&#160;</td></tr>
153
+ <tr class="memitem:a56ed1ae67f47e95f2d1f4c6146d4913a"><td class="memItemLeft" align="right" valign="top">std::vector&lt; <a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> &gt;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfasttext_1_1ProductQuantizer.html#a56ed1ae67f47e95f2d1f4c6146d4913a">centroids_</a></td></tr>
154
+ <tr class="separator:a56ed1ae67f47e95f2d1f4c6146d4913a"><td class="memSeparator" colspan="2">&#160;</td></tr>
155
+ <tr class="memitem:af5755b1c5ed3128430f1c1de2c03ac26"><td class="memItemLeft" align="right" valign="top">std::minstd_rand&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classfasttext_1_1ProductQuantizer.html#af5755b1c5ed3128430f1c1de2c03ac26">rng</a></td></tr>
156
+ <tr class="separator:af5755b1c5ed3128430f1c1de2c03ac26"><td class="memSeparator" colspan="2">&#160;</td></tr>
157
+ </table>
158
+ <h2 class="groupheader">Constructor &amp; Destructor Documentation</h2>
159
+ <a id="a08b62937f9073fb4d95f161da7121850"></a>
160
+ <h2 class="memtitle"><span class="permalink"><a href="#a08b62937f9073fb4d95f161da7121850">&#9670;&nbsp;</a></span>ProductQuantizer() <span class="overload">[1/2]</span></h2>
161
+
162
+ <div class="memitem">
163
+ <div class="memproto">
164
+ <table class="mlabels">
165
+ <tr>
166
+ <td class="mlabels-left">
167
+ <table class="memname">
168
+ <tr>
169
+ <td class="memname">fasttext::ProductQuantizer::ProductQuantizer </td>
170
+ <td>(</td>
171
+ <td class="paramname"></td><td>)</td>
172
+ <td></td>
173
+ </tr>
174
+ </table>
175
+ </td>
176
+ <td class="mlabels-right">
177
+ <span class="mlabels"><span class="mlabel">inline</span></span> </td>
178
+ </tr>
179
+ </table>
180
+ </div><div class="memdoc">
181
+
182
+ </div>
183
+ </div>
184
+ <a id="a8563da401dbfaa98983ef0c92f92a18f"></a>
185
+ <h2 class="memtitle"><span class="permalink"><a href="#a8563da401dbfaa98983ef0c92f92a18f">&#9670;&nbsp;</a></span>ProductQuantizer() <span class="overload">[2/2]</span></h2>
186
+
187
+ <div class="memitem">
188
+ <div class="memproto">
189
+ <table class="memname">
190
+ <tr>
191
+ <td class="memname">fasttext::ProductQuantizer::ProductQuantizer </td>
192
+ <td>(</td>
193
+ <td class="paramtype">int32_t&#160;</td>
194
+ <td class="paramname"><em>dim</em>, </td>
195
+ </tr>
196
+ <tr>
197
+ <td class="paramkey"></td>
198
+ <td></td>
199
+ <td class="paramtype">int32_t&#160;</td>
200
+ <td class="paramname"><em>dsub</em>&#160;</td>
201
+ </tr>
202
+ <tr>
203
+ <td></td>
204
+ <td>)</td>
205
+ <td></td><td></td>
206
+ </tr>
207
+ </table>
208
+ </div><div class="memdoc">
209
+
210
+ </div>
211
+ </div>
212
+ <h2 class="groupheader">Member Function Documentation</h2>
213
+ <a id="ac0039e0eccfc7dc15ddb3be3bac0fec3"></a>
214
+ <h2 class="memtitle"><span class="permalink"><a href="#ac0039e0eccfc7dc15ddb3be3bac0fec3">&#9670;&nbsp;</a></span>addcode()</h2>
215
+
216
+ <div class="memitem">
217
+ <div class="memproto">
218
+ <table class="memname">
219
+ <tr>
220
+ <td class="memname">void fasttext::ProductQuantizer::addcode </td>
221
+ <td>(</td>
222
+ <td class="paramtype"><a class="el" href="classfasttext_1_1Vector.html">Vector</a> &amp;&#160;</td>
223
+ <td class="paramname"><em>x</em>, </td>
224
+ </tr>
225
+ <tr>
226
+ <td class="paramkey"></td>
227
+ <td></td>
228
+ <td class="paramtype">const uint8_t *&#160;</td>
229
+ <td class="paramname"><em>codes</em>, </td>
230
+ </tr>
231
+ <tr>
232
+ <td class="paramkey"></td>
233
+ <td></td>
234
+ <td class="paramtype">int32_t&#160;</td>
235
+ <td class="paramname"><em>t</em>, </td>
236
+ </tr>
237
+ <tr>
238
+ <td class="paramkey"></td>
239
+ <td></td>
240
+ <td class="paramtype"><a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a>&#160;</td>
241
+ <td class="paramname"><em>alpha</em>&#160;</td>
242
+ </tr>
243
+ <tr>
244
+ <td></td>
245
+ <td>)</td>
246
+ <td></td><td> const</td>
247
+ </tr>
248
+ </table>
249
+ </div><div class="memdoc">
250
+
251
+ </div>
252
+ </div>
253
+ <a id="aa957e4e92eb6111152f6e34b0b4a27cd"></a>
254
+ <h2 class="memtitle"><span class="permalink"><a href="#aa957e4e92eb6111152f6e34b0b4a27cd">&#9670;&nbsp;</a></span>assign_centroid()</h2>
255
+
256
+ <div class="memitem">
257
+ <div class="memproto">
258
+ <table class="memname">
259
+ <tr>
260
+ <td class="memname"><a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> fasttext::ProductQuantizer::assign_centroid </td>
261
+ <td>(</td>
262
+ <td class="paramtype">const <a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> *&#160;</td>
263
+ <td class="paramname"><em>x</em>, </td>
264
+ </tr>
265
+ <tr>
266
+ <td class="paramkey"></td>
267
+ <td></td>
268
+ <td class="paramtype">const <a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> *&#160;</td>
269
+ <td class="paramname"><em>c0</em>, </td>
270
+ </tr>
271
+ <tr>
272
+ <td class="paramkey"></td>
273
+ <td></td>
274
+ <td class="paramtype">uint8_t *&#160;</td>
275
+ <td class="paramname"><em>code</em>, </td>
276
+ </tr>
277
+ <tr>
278
+ <td class="paramkey"></td>
279
+ <td></td>
280
+ <td class="paramtype">int32_t&#160;</td>
281
+ <td class="paramname"><em>d</em>&#160;</td>
282
+ </tr>
283
+ <tr>
284
+ <td></td>
285
+ <td>)</td>
286
+ <td></td><td> const</td>
287
+ </tr>
288
+ </table>
289
+ </div><div class="memdoc">
290
+
291
+ </div>
292
+ </div>
293
+ <a id="a1b6fedf0a199ed0ec1afc2aea26a4b37"></a>
294
+ <h2 class="memtitle"><span class="permalink"><a href="#a1b6fedf0a199ed0ec1afc2aea26a4b37">&#9670;&nbsp;</a></span>compute_code()</h2>
295
+
296
+ <div class="memitem">
297
+ <div class="memproto">
298
+ <table class="memname">
299
+ <tr>
300
+ <td class="memname">void fasttext::ProductQuantizer::compute_code </td>
301
+ <td>(</td>
302
+ <td class="paramtype">const <a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> *&#160;</td>
303
+ <td class="paramname"><em>x</em>, </td>
304
+ </tr>
305
+ <tr>
306
+ <td class="paramkey"></td>
307
+ <td></td>
308
+ <td class="paramtype">uint8_t *&#160;</td>
309
+ <td class="paramname"><em>code</em>&#160;</td>
310
+ </tr>
311
+ <tr>
312
+ <td></td>
313
+ <td>)</td>
314
+ <td></td><td> const</td>
315
+ </tr>
316
+ </table>
317
+ </div><div class="memdoc">
318
+
319
+ </div>
320
+ </div>
321
+ <a id="aca0eb5cd10d5bba60b4f3f37f87676f6"></a>
322
+ <h2 class="memtitle"><span class="permalink"><a href="#aca0eb5cd10d5bba60b4f3f37f87676f6">&#9670;&nbsp;</a></span>compute_codes()</h2>
323
+
324
+ <div class="memitem">
325
+ <div class="memproto">
326
+ <table class="memname">
327
+ <tr>
328
+ <td class="memname">void fasttext::ProductQuantizer::compute_codes </td>
329
+ <td>(</td>
330
+ <td class="paramtype">const <a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> *&#160;</td>
331
+ <td class="paramname"><em>x</em>, </td>
332
+ </tr>
333
+ <tr>
334
+ <td class="paramkey"></td>
335
+ <td></td>
336
+ <td class="paramtype">uint8_t *&#160;</td>
337
+ <td class="paramname"><em>codes</em>, </td>
338
+ </tr>
339
+ <tr>
340
+ <td class="paramkey"></td>
341
+ <td></td>
342
+ <td class="paramtype">int32_t&#160;</td>
343
+ <td class="paramname"><em>n</em>&#160;</td>
344
+ </tr>
345
+ <tr>
346
+ <td></td>
347
+ <td>)</td>
348
+ <td></td><td> const</td>
349
+ </tr>
350
+ </table>
351
+ </div><div class="memdoc">
352
+
353
+ </div>
354
+ </div>
355
+ <a id="aeba73a087e59f504472063db0a217e84"></a>
356
+ <h2 class="memtitle"><span class="permalink"><a href="#aeba73a087e59f504472063db0a217e84">&#9670;&nbsp;</a></span>Estep()</h2>
357
+
358
+ <div class="memitem">
359
+ <div class="memproto">
360
+ <table class="memname">
361
+ <tr>
362
+ <td class="memname">void fasttext::ProductQuantizer::Estep </td>
363
+ <td>(</td>
364
+ <td class="paramtype">const <a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> *&#160;</td>
365
+ <td class="paramname"><em>x</em>, </td>
366
+ </tr>
367
+ <tr>
368
+ <td class="paramkey"></td>
369
+ <td></td>
370
+ <td class="paramtype">const <a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> *&#160;</td>
371
+ <td class="paramname"><em>centroids</em>, </td>
372
+ </tr>
373
+ <tr>
374
+ <td class="paramkey"></td>
375
+ <td></td>
376
+ <td class="paramtype">uint8_t *&#160;</td>
377
+ <td class="paramname"><em>codes</em>, </td>
378
+ </tr>
379
+ <tr>
380
+ <td class="paramkey"></td>
381
+ <td></td>
382
+ <td class="paramtype">int32_t&#160;</td>
383
+ <td class="paramname"><em>d</em>, </td>
384
+ </tr>
385
+ <tr>
386
+ <td class="paramkey"></td>
387
+ <td></td>
388
+ <td class="paramtype">int32_t&#160;</td>
389
+ <td class="paramname"><em>n</em>&#160;</td>
390
+ </tr>
391
+ <tr>
392
+ <td></td>
393
+ <td>)</td>
394
+ <td></td><td> const</td>
395
+ </tr>
396
+ </table>
397
+ </div><div class="memdoc">
398
+
399
+ </div>
400
+ </div>
401
+ <a id="adb6a2ade7e4a77d7b59f03c081d11d91"></a>
402
+ <h2 class="memtitle"><span class="permalink"><a href="#adb6a2ade7e4a77d7b59f03c081d11d91">&#9670;&nbsp;</a></span>get_centroids() <span class="overload">[1/2]</span></h2>
403
+
404
+ <div class="memitem">
405
+ <div class="memproto">
406
+ <table class="memname">
407
+ <tr>
408
+ <td class="memname"><a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> * fasttext::ProductQuantizer::get_centroids </td>
409
+ <td>(</td>
410
+ <td class="paramtype">int32_t&#160;</td>
411
+ <td class="paramname"><em>m</em>, </td>
412
+ </tr>
413
+ <tr>
414
+ <td class="paramkey"></td>
415
+ <td></td>
416
+ <td class="paramtype">uint8_t&#160;</td>
417
+ <td class="paramname"><em>i</em>&#160;</td>
418
+ </tr>
419
+ <tr>
420
+ <td></td>
421
+ <td>)</td>
422
+ <td></td><td></td>
423
+ </tr>
424
+ </table>
425
+ </div><div class="memdoc">
426
+
427
+ </div>
428
+ </div>
429
+ <a id="a4f7b2b81820abc0c577a89a768ef3347"></a>
430
+ <h2 class="memtitle"><span class="permalink"><a href="#a4f7b2b81820abc0c577a89a768ef3347">&#9670;&nbsp;</a></span>get_centroids() <span class="overload">[2/2]</span></h2>
431
+
432
+ <div class="memitem">
433
+ <div class="memproto">
434
+ <table class="memname">
435
+ <tr>
436
+ <td class="memname">const <a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> * fasttext::ProductQuantizer::get_centroids </td>
437
+ <td>(</td>
438
+ <td class="paramtype">int32_t&#160;</td>
439
+ <td class="paramname"><em>m</em>, </td>
440
+ </tr>
441
+ <tr>
442
+ <td class="paramkey"></td>
443
+ <td></td>
444
+ <td class="paramtype">uint8_t&#160;</td>
445
+ <td class="paramname"><em>i</em>&#160;</td>
446
+ </tr>
447
+ <tr>
448
+ <td></td>
449
+ <td>)</td>
450
+ <td></td><td> const</td>
451
+ </tr>
452
+ </table>
453
+ </div><div class="memdoc">
454
+
455
+ </div>
456
+ </div>
457
+ <a id="a06c91357dc88225714daa10548525352"></a>
458
+ <h2 class="memtitle"><span class="permalink"><a href="#a06c91357dc88225714daa10548525352">&#9670;&nbsp;</a></span>kmeans()</h2>
459
+
460
+ <div class="memitem">
461
+ <div class="memproto">
462
+ <table class="memname">
463
+ <tr>
464
+ <td class="memname">void fasttext::ProductQuantizer::kmeans </td>
465
+ <td>(</td>
466
+ <td class="paramtype">const <a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> *&#160;</td>
467
+ <td class="paramname"><em>x</em>, </td>
468
+ </tr>
469
+ <tr>
470
+ <td class="paramkey"></td>
471
+ <td></td>
472
+ <td class="paramtype"><a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> *&#160;</td>
473
+ <td class="paramname"><em>c</em>, </td>
474
+ </tr>
475
+ <tr>
476
+ <td class="paramkey"></td>
477
+ <td></td>
478
+ <td class="paramtype">int32_t&#160;</td>
479
+ <td class="paramname"><em>n</em>, </td>
480
+ </tr>
481
+ <tr>
482
+ <td class="paramkey"></td>
483
+ <td></td>
484
+ <td class="paramtype">int32_t&#160;</td>
485
+ <td class="paramname"><em>d</em>&#160;</td>
486
+ </tr>
487
+ <tr>
488
+ <td></td>
489
+ <td>)</td>
490
+ <td></td><td></td>
491
+ </tr>
492
+ </table>
493
+ </div><div class="memdoc">
494
+
495
+ </div>
496
+ </div>
497
+ <a id="a4060617809c0099a9e5ca73ec0497056"></a>
498
+ <h2 class="memtitle"><span class="permalink"><a href="#a4060617809c0099a9e5ca73ec0497056">&#9670;&nbsp;</a></span>load()</h2>
499
+
500
+ <div class="memitem">
501
+ <div class="memproto">
502
+ <table class="memname">
503
+ <tr>
504
+ <td class="memname">void fasttext::ProductQuantizer::load </td>
505
+ <td>(</td>
506
+ <td class="paramtype">std::istream &amp;&#160;</td>
507
+ <td class="paramname"><em>in</em></td><td>)</td>
508
+ <td></td>
509
+ </tr>
510
+ </table>
511
+ </div><div class="memdoc">
512
+
513
+ </div>
514
+ </div>
515
+ <a id="a5f6cc5e957f5546523aea7dd9e826f25"></a>
516
+ <h2 class="memtitle"><span class="permalink"><a href="#a5f6cc5e957f5546523aea7dd9e826f25">&#9670;&nbsp;</a></span>MStep()</h2>
517
+
518
+ <div class="memitem">
519
+ <div class="memproto">
520
+ <table class="memname">
521
+ <tr>
522
+ <td class="memname">void fasttext::ProductQuantizer::MStep </td>
523
+ <td>(</td>
524
+ <td class="paramtype">const <a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> *&#160;</td>
525
+ <td class="paramname"><em>x0</em>, </td>
526
+ </tr>
527
+ <tr>
528
+ <td class="paramkey"></td>
529
+ <td></td>
530
+ <td class="paramtype"><a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> *&#160;</td>
531
+ <td class="paramname"><em>centroids</em>, </td>
532
+ </tr>
533
+ <tr>
534
+ <td class="paramkey"></td>
535
+ <td></td>
536
+ <td class="paramtype">const uint8_t *&#160;</td>
537
+ <td class="paramname"><em>codes</em>, </td>
538
+ </tr>
539
+ <tr>
540
+ <td class="paramkey"></td>
541
+ <td></td>
542
+ <td class="paramtype">int32_t&#160;</td>
543
+ <td class="paramname"><em>d</em>, </td>
544
+ </tr>
545
+ <tr>
546
+ <td class="paramkey"></td>
547
+ <td></td>
548
+ <td class="paramtype">int32_t&#160;</td>
549
+ <td class="paramname"><em>n</em>&#160;</td>
550
+ </tr>
551
+ <tr>
552
+ <td></td>
553
+ <td>)</td>
554
+ <td></td><td></td>
555
+ </tr>
556
+ </table>
557
+ </div><div class="memdoc">
558
+
559
+ </div>
560
+ </div>
561
+ <a id="a82e0fb5da37c5c6a62d6f9f6d34d91d6"></a>
562
+ <h2 class="memtitle"><span class="permalink"><a href="#a82e0fb5da37c5c6a62d6f9f6d34d91d6">&#9670;&nbsp;</a></span>mulcode()</h2>
563
+
564
+ <div class="memitem">
565
+ <div class="memproto">
566
+ <table class="memname">
567
+ <tr>
568
+ <td class="memname"><a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> fasttext::ProductQuantizer::mulcode </td>
569
+ <td>(</td>
570
+ <td class="paramtype">const <a class="el" href="classfasttext_1_1Vector.html">Vector</a> &amp;&#160;</td>
571
+ <td class="paramname"><em>x</em>, </td>
572
+ </tr>
573
+ <tr>
574
+ <td class="paramkey"></td>
575
+ <td></td>
576
+ <td class="paramtype">const uint8_t *&#160;</td>
577
+ <td class="paramname"><em>codes</em>, </td>
578
+ </tr>
579
+ <tr>
580
+ <td class="paramkey"></td>
581
+ <td></td>
582
+ <td class="paramtype">int32_t&#160;</td>
583
+ <td class="paramname"><em>t</em>, </td>
584
+ </tr>
585
+ <tr>
586
+ <td class="paramkey"></td>
587
+ <td></td>
588
+ <td class="paramtype"><a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a>&#160;</td>
589
+ <td class="paramname"><em>alpha</em>&#160;</td>
590
+ </tr>
591
+ <tr>
592
+ <td></td>
593
+ <td>)</td>
594
+ <td></td><td> const</td>
595
+ </tr>
596
+ </table>
597
+ </div><div class="memdoc">
598
+
599
+ </div>
600
+ </div>
601
+ <a id="a6e4d58883fb38225c6f4731770b89274"></a>
602
+ <h2 class="memtitle"><span class="permalink"><a href="#a6e4d58883fb38225c6f4731770b89274">&#9670;&nbsp;</a></span>save()</h2>
603
+
604
+ <div class="memitem">
605
+ <div class="memproto">
606
+ <table class="memname">
607
+ <tr>
608
+ <td class="memname">void fasttext::ProductQuantizer::save </td>
609
+ <td>(</td>
610
+ <td class="paramtype">std::ostream &amp;&#160;</td>
611
+ <td class="paramname"><em>out</em></td><td>)</td>
612
+ <td></td>
613
+ </tr>
614
+ </table>
615
+ </div><div class="memdoc">
616
+
617
+ </div>
618
+ </div>
619
+ <a id="a40e3090d1f7e525c3e9787d9856d3b7d"></a>
620
+ <h2 class="memtitle"><span class="permalink"><a href="#a40e3090d1f7e525c3e9787d9856d3b7d">&#9670;&nbsp;</a></span>train()</h2>
621
+
622
+ <div class="memitem">
623
+ <div class="memproto">
624
+ <table class="memname">
625
+ <tr>
626
+ <td class="memname">void fasttext::ProductQuantizer::train </td>
627
+ <td>(</td>
628
+ <td class="paramtype">int&#160;</td>
629
+ <td class="paramname">, </td>
630
+ </tr>
631
+ <tr>
632
+ <td class="paramkey"></td>
633
+ <td></td>
634
+ <td class="paramtype">const <a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> *&#160;</td>
635
+ <td class="paramname">&#160;</td>
636
+ </tr>
637
+ <tr>
638
+ <td></td>
639
+ <td>)</td>
640
+ <td></td><td></td>
641
+ </tr>
642
+ </table>
643
+ </div><div class="memdoc">
644
+
645
+ </div>
646
+ </div>
647
+ <h2 class="groupheader">Member Data Documentation</h2>
648
+ <a id="a56ed1ae67f47e95f2d1f4c6146d4913a"></a>
649
+ <h2 class="memtitle"><span class="permalink"><a href="#a56ed1ae67f47e95f2d1f4c6146d4913a">&#9670;&nbsp;</a></span>centroids_</h2>
650
+
651
+ <div class="memitem">
652
+ <div class="memproto">
653
+ <table class="mlabels">
654
+ <tr>
655
+ <td class="mlabels-left">
656
+ <table class="memname">
657
+ <tr>
658
+ <td class="memname">std::vector&lt;<a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a>&gt; fasttext::ProductQuantizer::centroids_</td>
659
+ </tr>
660
+ </table>
661
+ </td>
662
+ <td class="mlabels-right">
663
+ <span class="mlabels"><span class="mlabel">private</span></span> </td>
664
+ </tr>
665
+ </table>
666
+ </div><div class="memdoc">
667
+
668
+ </div>
669
+ </div>
670
+ <a id="afdeec3948e983b1f3e1e36292153e300"></a>
671
+ <h2 class="memtitle"><span class="permalink"><a href="#afdeec3948e983b1f3e1e36292153e300">&#9670;&nbsp;</a></span>dim_</h2>
672
+
673
+ <div class="memitem">
674
+ <div class="memproto">
675
+ <table class="mlabels">
676
+ <tr>
677
+ <td class="mlabels-left">
678
+ <table class="memname">
679
+ <tr>
680
+ <td class="memname">int32_t fasttext::ProductQuantizer::dim_</td>
681
+ </tr>
682
+ </table>
683
+ </td>
684
+ <td class="mlabels-right">
685
+ <span class="mlabels"><span class="mlabel">private</span></span> </td>
686
+ </tr>
687
+ </table>
688
+ </div><div class="memdoc">
689
+
690
+ </div>
691
+ </div>
692
+ <a id="a9221f241be27487c671bbbba7a84b389"></a>
693
+ <h2 class="memtitle"><span class="permalink"><a href="#a9221f241be27487c671bbbba7a84b389">&#9670;&nbsp;</a></span>dsub_</h2>
694
+
695
+ <div class="memitem">
696
+ <div class="memproto">
697
+ <table class="mlabels">
698
+ <tr>
699
+ <td class="mlabels-left">
700
+ <table class="memname">
701
+ <tr>
702
+ <td class="memname">int32_t fasttext::ProductQuantizer::dsub_</td>
703
+ </tr>
704
+ </table>
705
+ </td>
706
+ <td class="mlabels-right">
707
+ <span class="mlabels"><span class="mlabel">private</span></span> </td>
708
+ </tr>
709
+ </table>
710
+ </div><div class="memdoc">
711
+
712
+ </div>
713
+ </div>
714
+ <a id="a2334f23eb94911fa4b528a584eb7f7e4"></a>
715
+ <h2 class="memtitle"><span class="permalink"><a href="#a2334f23eb94911fa4b528a584eb7f7e4">&#9670;&nbsp;</a></span>eps_</h2>
716
+
717
+ <div class="memitem">
718
+ <div class="memproto">
719
+ <table class="mlabels">
720
+ <tr>
721
+ <td class="mlabels-left">
722
+ <table class="memname">
723
+ <tr>
724
+ <td class="memname">const <a class="el" href="namespacefasttext.html#a7afdad102f318271c14154b8e65e5ea3">real</a> fasttext::ProductQuantizer::eps_ = 1e-7</td>
725
+ </tr>
726
+ </table>
727
+ </td>
728
+ <td class="mlabels-right">
729
+ <span class="mlabels"><span class="mlabel">private</span></span> </td>
730
+ </tr>
731
+ </table>
732
+ </div><div class="memdoc">
733
+
734
+ </div>
735
+ </div>
736
+ <a id="afa68c0f82fab09a93c2024a4dceecdf7"></a>
737
+ <h2 class="memtitle"><span class="permalink"><a href="#afa68c0f82fab09a93c2024a4dceecdf7">&#9670;&nbsp;</a></span>ksub_</h2>
738
+
739
+ <div class="memitem">
740
+ <div class="memproto">
741
+ <table class="mlabels">
742
+ <tr>
743
+ <td class="mlabels-left">
744
+ <table class="memname">
745
+ <tr>
746
+ <td class="memname">const int32_t fasttext::ProductQuantizer::ksub_ = 1 &lt;&lt; <a class="el" href="classfasttext_1_1ProductQuantizer.html#ac44db00342a54cb05df9d0c136a8633c">nbits_</a></td>
747
+ </tr>
748
+ </table>
749
+ </td>
750
+ <td class="mlabels-right">
751
+ <span class="mlabels"><span class="mlabel">private</span></span> </td>
752
+ </tr>
753
+ </table>
754
+ </div><div class="memdoc">
755
+
756
+ </div>
757
+ </div>
758
+ <a id="ae79be52ccbb6230ce129234e150bc826"></a>
759
+ <h2 class="memtitle"><span class="permalink"><a href="#ae79be52ccbb6230ce129234e150bc826">&#9670;&nbsp;</a></span>lastdsub_</h2>
760
+
761
+ <div class="memitem">
762
+ <div class="memproto">
763
+ <table class="mlabels">
764
+ <tr>
765
+ <td class="mlabels-left">
766
+ <table class="memname">
767
+ <tr>
768
+ <td class="memname">int32_t fasttext::ProductQuantizer::lastdsub_</td>
769
+ </tr>
770
+ </table>
771
+ </td>
772
+ <td class="mlabels-right">
773
+ <span class="mlabels"><span class="mlabel">private</span></span> </td>
774
+ </tr>
775
+ </table>
776
+ </div><div class="memdoc">
777
+
778
+ </div>
779
+ </div>
780
+ <a id="a38780ae9c1997722683bb43d55ece633"></a>
781
+ <h2 class="memtitle"><span class="permalink"><a href="#a38780ae9c1997722683bb43d55ece633">&#9670;&nbsp;</a></span>max_points_</h2>
782
+
783
+ <div class="memitem">
784
+ <div class="memproto">
785
+ <table class="mlabels">
786
+ <tr>
787
+ <td class="mlabels-left">
788
+ <table class="memname">
789
+ <tr>
790
+ <td class="memname">const int32_t fasttext::ProductQuantizer::max_points_ = <a class="el" href="classfasttext_1_1ProductQuantizer.html#ad439c3fefe554fa05f2b1d06ddcd77b6">max_points_per_cluster_</a> * <a class="el" href="classfasttext_1_1ProductQuantizer.html#afa68c0f82fab09a93c2024a4dceecdf7">ksub_</a></td>
791
+ </tr>
792
+ </table>
793
+ </td>
794
+ <td class="mlabels-right">
795
+ <span class="mlabels"><span class="mlabel">private</span></span> </td>
796
+ </tr>
797
+ </table>
798
+ </div><div class="memdoc">
799
+
800
+ </div>
801
+ </div>
802
+ <a id="ad439c3fefe554fa05f2b1d06ddcd77b6"></a>
803
+ <h2 class="memtitle"><span class="permalink"><a href="#ad439c3fefe554fa05f2b1d06ddcd77b6">&#9670;&nbsp;</a></span>max_points_per_cluster_</h2>
804
+
805
+ <div class="memitem">
806
+ <div class="memproto">
807
+ <table class="mlabels">
808
+ <tr>
809
+ <td class="mlabels-left">
810
+ <table class="memname">
811
+ <tr>
812
+ <td class="memname">const int32_t fasttext::ProductQuantizer::max_points_per_cluster_ = 256</td>
813
+ </tr>
814
+ </table>
815
+ </td>
816
+ <td class="mlabels-right">
817
+ <span class="mlabels"><span class="mlabel">private</span></span> </td>
818
+ </tr>
819
+ </table>
820
+ </div><div class="memdoc">
821
+
822
+ </div>
823
+ </div>
824
+ <a id="ac44db00342a54cb05df9d0c136a8633c"></a>
825
+ <h2 class="memtitle"><span class="permalink"><a href="#ac44db00342a54cb05df9d0c136a8633c">&#9670;&nbsp;</a></span>nbits_</h2>
826
+
827
+ <div class="memitem">
828
+ <div class="memproto">
829
+ <table class="mlabels">
830
+ <tr>
831
+ <td class="mlabels-left">
832
+ <table class="memname">
833
+ <tr>
834
+ <td class="memname">const int32_t fasttext::ProductQuantizer::nbits_ = 8</td>
835
+ </tr>
836
+ </table>
837
+ </td>
838
+ <td class="mlabels-right">
839
+ <span class="mlabels"><span class="mlabel">private</span></span> </td>
840
+ </tr>
841
+ </table>
842
+ </div><div class="memdoc">
843
+
844
+ </div>
845
+ </div>
846
+ <a id="afa968d226983fbebfd2bb9d80bf6571f"></a>
847
+ <h2 class="memtitle"><span class="permalink"><a href="#afa968d226983fbebfd2bb9d80bf6571f">&#9670;&nbsp;</a></span>niter_</h2>
848
+
849
+ <div class="memitem">
850
+ <div class="memproto">
851
+ <table class="mlabels">
852
+ <tr>
853
+ <td class="mlabels-left">
854
+ <table class="memname">
855
+ <tr>
856
+ <td class="memname">const int32_t fasttext::ProductQuantizer::niter_ = 25</td>
857
+ </tr>
858
+ </table>
859
+ </td>
860
+ <td class="mlabels-right">
861
+ <span class="mlabels"><span class="mlabel">private</span></span> </td>
862
+ </tr>
863
+ </table>
864
+ </div><div class="memdoc">
865
+
866
+ </div>
867
+ </div>
868
+ <a id="a1e09b5c96869b0b4758348b976152309"></a>
869
+ <h2 class="memtitle"><span class="permalink"><a href="#a1e09b5c96869b0b4758348b976152309">&#9670;&nbsp;</a></span>nsubq_</h2>
870
+
871
+ <div class="memitem">
872
+ <div class="memproto">
873
+ <table class="mlabels">
874
+ <tr>
875
+ <td class="mlabels-left">
876
+ <table class="memname">
877
+ <tr>
878
+ <td class="memname">int32_t fasttext::ProductQuantizer::nsubq_</td>
879
+ </tr>
880
+ </table>
881
+ </td>
882
+ <td class="mlabels-right">
883
+ <span class="mlabels"><span class="mlabel">private</span></span> </td>
884
+ </tr>
885
+ </table>
886
+ </div><div class="memdoc">
887
+
888
+ </div>
889
+ </div>
890
+ <a id="af5755b1c5ed3128430f1c1de2c03ac26"></a>
891
+ <h2 class="memtitle"><span class="permalink"><a href="#af5755b1c5ed3128430f1c1de2c03ac26">&#9670;&nbsp;</a></span>rng</h2>
892
+
893
+ <div class="memitem">
894
+ <div class="memproto">
895
+ <table class="mlabels">
896
+ <tr>
897
+ <td class="mlabels-left">
898
+ <table class="memname">
899
+ <tr>
900
+ <td class="memname">std::minstd_rand fasttext::ProductQuantizer::rng</td>
901
+ </tr>
902
+ </table>
903
+ </td>
904
+ <td class="mlabels-right">
905
+ <span class="mlabels"><span class="mlabel">private</span></span> </td>
906
+ </tr>
907
+ </table>
908
+ </div><div class="memdoc">
909
+
910
+ </div>
911
+ </div>
912
+ <a id="ae71f8417a9265bdee493edfa6139d757"></a>
913
+ <h2 class="memtitle"><span class="permalink"><a href="#ae71f8417a9265bdee493edfa6139d757">&#9670;&nbsp;</a></span>seed_</h2>
914
+
915
+ <div class="memitem">
916
+ <div class="memproto">
917
+ <table class="mlabels">
918
+ <tr>
919
+ <td class="mlabels-left">
920
+ <table class="memname">
921
+ <tr>
922
+ <td class="memname">const int32_t fasttext::ProductQuantizer::seed_ = 1234</td>
923
+ </tr>
924
+ </table>
925
+ </td>
926
+ <td class="mlabels-right">
927
+ <span class="mlabels"><span class="mlabel">private</span></span> </td>
928
+ </tr>
929
+ </table>
930
+ </div><div class="memdoc">
931
+
932
+ </div>
933
+ </div>
934
+ <hr/>The documentation for this class was generated from the following files:<ul>
935
+ <li>/data/users/cpuhrsch/fbsource/fbcode/deeplearning/fastText/src/<a class="el" href="productquantizer_8h_source.html">productquantizer.h</a></li>
936
+ <li>/data/users/cpuhrsch/fbsource/fbcode/deeplearning/fastText/src/<a class="el" href="productquantizer_8cc.html">productquantizer.cc</a></li>
937
+ </ul>
938
+ </div><!-- contents -->
939
+ </div><!-- doc-content -->
940
+ <!-- start footer part -->
941
+ <div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
942
+ <ul>
943
+ <li class="navelem"><a class="el" href="namespacefasttext.html">fasttext</a></li><li class="navelem"><a class="el" href="classfasttext_1_1ProductQuantizer.html">ProductQuantizer</a></li>
944
+ <li class="footer">Generated by
945
+ <a href="http://www.doxygen.org/index.html">
946
+ <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.13 </li>
947
+ </ul>
948
+ </div>
949
+ </body>
950
+ </html>