klokedm commited on
Commit
933e517
·
verified ·
1 Parent(s): 7a385c6

Added the MaCoCu-sl zipped and DTD files

Browse files
Files changed (2) hide show
  1. MaCoCu-monolingual.dtd +35 -0
  2. MaCoCu-sl-2.0.xml.zip +3 -0
MaCoCu-monolingual.dtd ADDED
@@ -0,0 +1,35 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <!ELEMENT corpus (doc+)>
2
+ <!-- Obligatory ID of the corpus, e.g., "MaCoCu-sl-2.0" for Slovene corpus. -->
3
+ <!ATTLIST corpus id CDATA #REQUIRED>
4
+ <!-- One web page, consisting of one or more paragraphs. -->
5
+ <!ELEMENT doc (p+)>
6
+ <!-- ID of the document, e.g., "macocu.sl.1" -->
7
+ <!ATTLIST doc id CDATA #REQUIRED>
8
+ <!-- Title of the web page, taken from the HTML format, e.g., "Veleposlaništvo Rusije v Sloveniji". -->
9
+ <!ATTLIST doc title CDATA #REQUIRED>
10
+ <!-- Date, when the text was obtained from the web, e.g., "2022-07-01". -->
11
+ <!ATTLIST doc crawl_date CDATA #REQUIRED>
12
+ <!-- Distribution of languages, identified on paragraph-level, e.g., [('mk', 0.66), ('ru', 0.34)], meaning 66% Macedonian, 34% Russian. Distribution is calculated based on the language identification of paragraphs that have @quality="good" or "good_wo_punct", because the language identification is not reliable enough on shorter paragraphs. -->
13
+ <!ATTLIST doc lang_distr CDATA #REQUIRED>
14
+ <!-- URL of the website, from which the text was obtained, e.g., "https://www.a1.si/hbo" -->
15
+ <!ATTLIST doc url CDATA #REQUIRED>
16
+ <!-- Domain, from which the text was obtained, e.g., "a1.si" -->
17
+ <!ATTLIST doc domain CDATA #REQUIRED>
18
+ <!-- File type of the original document, e.g., "html", "txt", "pdf", "doc". -->
19
+ <!ATTLIST doc file_type CDATA #REQUIRED>
20
+ <!-- Fluency score of paragraphs in the document, averaged and normalized by paragraph length. The score is between 0 and 1 and is based on the Monocleaner language model, e.g. 0.947. -->
21
+ <!ATTLIST doc lm_score CDATA #REQUIRED>
22
+ <!-- One paragraph-like element. -->
23
+ <!ELEMENT p (#PCDATA)>
24
+ <!-- ID of the paragraph, e.g., "macocu.sl.24.7". -->
25
+ <!ATTLIST p id CDATA #REQUIRED>
26
+ <!-- Information, obtained from the HTML structure, whether the paragraph is a heading. The attribute is present only if the paragraph is a heading and has a value "yes". -->
27
+ <!ATTLIST p heading CDATA #IMPLIED>
28
+ <!-- Estimated quality of the paragraph based on a heuristic taking into account multiple parameters (length, number of stopwords, link density, ratio of number of punctuation marks per number of words, etc.). Paragraphs with "bad" quality are filtered out, i.e. they do not appear in the corpus. Possible values: "good", "neargood", "short", "neargood_wo_punct", "good_wo_punct". -->
29
+ <!ATTLIST p quality CDATA #REQUIRED>
30
+ <!-- The estimated language of the paragraph, e.g. "mk". Note that this attribute is missing for @quality="short", as the language here cannot be reliably estimated. -->
31
+ <!ATTLIST p lang CDATA #IMPLIED>
32
+ <!-- Fluency score between 0 and 1, based on the Monocleaner language model, e.g. 0.947. -->
33
+ <!ATTLIST p lm_score CDATA #REQUIRED>
34
+ <!-- Information whether the paragraph contains sensitive information, e.g. e-mails, phone numbers, IP addresses. Possible values are "yes" or "no". This information was identified via the Biroamer tool - https://github.com/bitextor/biroamer. -->
35
+ <!ATTLIST p sensitive CDATA #REQUIRED>
MaCoCu-sl-2.0.xml.zip ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:638a0ff6d68211293dd2b54a6da2bd52a190f37480474c9b8efb20aa27d7c47f
3
+ size 5978651967