sonhask commited on
Commit
b41e67b
·
verified ·
1 Parent(s): 2bdbcbe

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +53 -2
README.md CHANGED
@@ -26,7 +26,58 @@ configs:
26
  data_files:
27
  - split: train
28
  path: data/train-*
 
 
 
29
  ---
30
- # Dataset Card for "cookie-policy-corpus"
31
 
32
- [More Information needed](https://github.com/huggingface/datasets/blob/main/CONTRIBUTING.md#how-to-contribute-to-the-dataset-cards)
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  data_files:
27
  - split: train
28
  path: data/train-*
29
+ license: mit
30
+ task_categories:
31
+ - feature-extraction
32
  ---
33
+ # Dataset Card for `cookie-policy-corpus`
34
 
35
+ ## Dataset Summary
36
+
37
+ The `cookie-policy-corpus` is a dataset that contains structured information from cookie policy web pages collected from real-world websites. Each entry includes the original webpage URL, raw policy content in its native language, extracted structured data (if available), and translated or processed content in both Vietnamese and English. The dataset supports research on cookie compliance detection, multilingual legal text processing, and translation tasks involving privacy-related content.
38
+
39
+ ## Features
40
+
41
+ Each row in the dataset contains the following fields:
42
+
43
+ * **url** (`string`): The source URL of the webpage containing the cookie policy.
44
+ * **lang** (`string`): Language code of the original content (e.g., `es` for Spanish, `fr` for French).
45
+ * **original\_text** (`string`): Raw text extracted directly from the web page.
46
+ * **tables** (`list`): A list of any HTML tables parsed from the cookie policy page (if available).
47
+ * **processed\_text** (`string`): The original text processed or translated into Vietnamese (`vi`), mainly for normalization and semantic alignment.
48
+ * **english\_content** (`string`): A human-translated or machine-translated English version of the cookie policy text.
49
+ * **english\_table** (`list`): Extracted and translated cookie table(s) from the original page, if any are present.
50
+
51
+ ## Languages
52
+ * Multilingual (source): Spanish (`es`), French (`fr`), Italian (`it`), etc.
53
+ * English (target standardization)
54
+
55
+ ## Use Cases
56
+
57
+ This dataset can be used for:
58
+ * ✅ **Cookie Policy Compliance Analysis**: Analyzing how actual cookie usage aligns with declared policies across different countries and languages.
59
+ * 🌍 **Cross-lingual NLP**: Training or evaluating multilingual models for policy classification, translation, or legal reasoning tasks.
60
+ * 📚 **Legal Text Mining**: Extracting structured legal concepts (e.g., consent, third-party usage, retention) from natural language text.
61
+ * 🤖 **Multilingual Model Training**: Fine-tuning LLMs or translation models on privacy-related corpora.
62
+
63
+ ## Example
64
+
65
+ ```json
66
+ {
67
+ "url": "https://tortugascw.com/privacy-cookies-policy/",
68
+ "lang": "es",
69
+ "original_text": "Links Privacy Cookies Policy En el artículo 22.2 de la Ley 34[PHONE], de 11 de julio...",
70
+ "tables": [],
71
+ "processed_text": "Liên kết Chính sách về quyền riêng tư cookie Trong Điều 22.2 của Luật 34...",
72
+ "english_content": "Links Privacy Cookies Policy In article 22.2 of Law 34[PHONE], of July 11...",
73
+ "english_table": []
74
+ }
75
+ ```
76
+
77
+ ## Citation
78
+
79
+ If you use this dataset, please cite:
80
+
81
+ ## License
82
+
83
+ This dataset is intended for research and educational purposes only. Content originates from publicly available web pages, and all rights belong to the respective site owners. Please verify terms of use if deploying for commercial purposes.