zafercavdar commited on
Commit
ed61d37
·
verified ·
1 Parent(s): e20a56e

Update dataset card

Browse files
Files changed (1) hide show
  1. README.md +152 -0
README.md ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ ---
2
+ pretty_name: polyglot3 models
3
+ license: other
4
+ license_name: polyglot-models
5
+ license_link: https://github.com/aboSamoor/polyglot
6
+ language:
7
+ - ar
8
+ - bg
9
+ - cs
10
+ - et
11
+ - fa
12
+ - fi
13
+ - he
14
+ - hi
15
+ - hr
16
+ - hu
17
+ - id
18
+ - ko
19
+ - lv
20
+ - ms
21
+ - no
22
+ - pt
23
+ - ru
24
+ - sk
25
+ - sl
26
+ - sr
27
+ - sv
28
+ - th
29
+ - tr
30
+ - uk
31
+ - vi
32
+ - multilingual
33
+ task_categories:
34
+ - token-classification
35
+ - text-classification
36
+ tags:
37
+ - named-entity-recognition
38
+ - part-of-speech
39
+ - sentiment
40
+ - word-embeddings
41
+ - polyglot
42
+ ---
43
+
44
+ # polyglot3 models
45
+
46
+ Pre-trained models for [polyglot3](https://github.com/dcipheranalytics/polyglot3),
47
+ the maintained Python 3 continuation of
48
+ [polyglot](https://github.com/aboSamoor/polyglot): word embeddings, named
49
+ entity recognition, part of speech tagging and sentiment lexicons.
50
+
51
+ These are the models originally published by the polyglot project at Stony
52
+ Brook University, whose download server is no longer online. This dataset
53
+ mirrors them, unchanged, so that polyglot3 can download them. It is maintained
54
+ by Dcipher Analytics AB (<info@dcipheranalytics.com>).
55
+
56
+ ## Usage
57
+
58
+ The files are meant to be downloaded by polyglot3, which verifies each one
59
+ against the checksums in `index.json`:
60
+
61
+ ```bash
62
+ pip install polyglot3
63
+ polyglot3 download LANG:tr # every model for Turkish
64
+ ```
65
+
66
+ ```python
67
+ from polyglot3.text import Text
68
+
69
+ Text("Mustafa Kemal Atatürk Ankara'da yaşadı.").entities
70
+ # [I-PER(['Mustafa', 'Kemal', 'Atatürk'])]
71
+ ```
72
+
73
+ See the [polyglot3 documentation](https://github.com/dcipheranalytics/polyglot3)
74
+ for details.
75
+
76
+ ## Contents
77
+
78
+ | Package | Contents | Languages | Size |
79
+ |---------------|------------------------------------------------------------|-----------|--------|
80
+ | `embeddings2` | 64-dimensional word embeddings (100,000 words), NER/POS input | 25 | 635 MB |
81
+ | `ner2` | named entity recognition (person, location, organization) | 25 | 7 MB |
82
+ | `pos2` | part of speech tagging (universal POS tags) | 7 | 1.5 MB |
83
+ | `sentiment2` | word polarity lexicons (positive, neutral, negative) | 136 | 1.4 MB |
84
+
85
+ Each package is a single file at `<task>/<language>/<file>`, e.g.
86
+ `ner2/tr/tr_ner.pkl.tar.bz2`. `index.json` lists every file with its size and
87
+ MD5.
88
+
89
+ Languages (ISO 639 codes):
90
+
91
+ - **Embeddings and NER:** ar bg cs et fa fi he hi hr hu id ko lv ms no pt ru sk
92
+ sl sr sv th tr uk vi
93
+ - **POS:** bg cs fi hu id sl sv
94
+ - **Sentiment:** af als am an ar arz as ast az ba bar be bg bn bo bpy br bs ca
95
+ ce ceb cs cv cy da de diq dv el en eo es et eu fa fi fo fr fy ga gan gd gl gu
96
+ gv he hi hif hr hsb ht hu hy ia id ilo io is it ja jv ka kk km kn ko ku ky la
97
+ lb li lmo lt lv mg mk ml mn mr ms mt my ne nl nn no oc or os pa pam pl pms ps
98
+ pt qu rm ro ru sa sah scn sco se sh si sk sl sq sr su sv sw szl ta te tg th
99
+ tk tl tr tt ug uk ur uz vec vi vls vo wa war yi yo zh zhw
100
+
101
+ The original polyglot project published models for more languages. This
102
+ mirror only contains the ones above.
103
+
104
+ ## Source and license
105
+
106
+ The models were created by Rami Al-Rfou, Bryan Perozzi, Vivek Kulkarni,
107
+ Yanqing Chen, Steven Skiena and colleagues at the Data Science Lab, Stony
108
+ Brook University, and released with
109
+ [polyglot](https://github.com/aboSamoor/polyglot). They were trained on
110
+ Wikipedia (embeddings, NER, POS) and derived from it and other resources
111
+ (sentiment); see the papers below.
112
+
113
+ The polyglot code is licensed under GPLv3. The models are redistributed here
114
+ under the terms of their original release; refer to the
115
+ [polyglot project](https://github.com/aboSamoor/polyglot) for those terms. If
116
+ you are an author of these models and have questions about this mirror,
117
+ contact <info@dcipheranalytics.com>.
118
+
119
+ ## Citation
120
+
121
+ If you use these models, please cite the original papers:
122
+
123
+ ```bibtex
124
+ @InProceedings{polyglot:2013:ACL-CoNLL,
125
+ author = {Al-Rfou, Rami and Perozzi, Bryan and Skiena, Steven},
126
+ title = {Polyglot: Distributed Word Representations for Multilingual NLP},
127
+ booktitle = {Proceedings of the Seventeenth Conference on Computational Natural Language Learning},
128
+ month = {August},
129
+ year = {2013},
130
+ address = {Sofia, Bulgaria},
131
+ publisher = {Association for Computational Linguistics},
132
+ pages = {183--192},
133
+ url = {https://aclanthology.org/W13-3520}
134
+ }
135
+
136
+ @inproceedings{polyglotner,
137
+ author = {Al-Rfou, Rami and Kulkarni, Vivek and Perozzi, Bryan and Skiena, Steven},
138
+ title = {{Polyglot-NER}: Massive Multilingual Named Entity Recognition},
139
+ booktitle = {Proceedings of the 2015 {SIAM} International Conference on Data Mining},
140
+ month = {April},
141
+ year = {2015},
142
+ publisher = {SIAM}
143
+ }
144
+
145
+ @inproceedings{chen2014building,
146
+ title = {Building sentiment lexicons for all major languages},
147
+ author = {Chen, Yanqing and Skiena, Steven},
148
+ booktitle = {Proceedings of the 52nd Annual Meeting of the Association for Computational Linguistics (Short Papers)},
149
+ pages = {383--389},
150
+ year = {2014}
151
+ }
152
+ ```