Skip to content

Commit

Permalink
bin/save-files iniciado; referencia ao Google Drive publico do HXL-CPLP
Browse files Browse the repository at this point in the history
  • Loading branch information
fititnt committed Dec 1, 2020
1 parent 32eb241 commit 470a109
Show file tree
Hide file tree
Showing 5 changed files with 66 additions and 3 deletions.
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,8 @@ caráter multidisciplinar, e que idealmente _já deveria estar prontas e
aceitavelmente validadas_: quando não existem, na melhor das hipóteses, podem
forçar serem feitas por não especialista e prejudicar qualidade, e na pior, até
impedir a produção de tecnologias inovadoras.


## Arquivos de trabalho
- HXL-CPLP-Publico
- <https://drive.google.com/drive/u/1/folders/1VLm29IBV6iOnfagRKKD8cLntDAjIjL0z>
29 changes: 29 additions & 0 deletions bin/save-files
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
#!/bin/sh
#===============================================================================
#
# FILE: save-files
#
# USAGE: save-files
#
# DESCRIPTION: ---
#
# OPTIONS: ---
#
# REQUIREMENTS: ---
# BUGS: ---
# NOTES: ---
# AUTHOR: Emerson Rocha <rocha[at]ieee.org>
# COMPANY: Etica.AI
# LICENSE: Public Domain / BSD Zero Clause License
# SPDX-License-Identifier: Unlicense OR 0BSD
# VERSION: v1.0
# CREATED: 2020-12-01 21:41 UTC
# REVISION: ---
#===============================================================================

# @see https://proxy.hxlstandard.org/data/a16d45

DATA_DIR="$(dirname $(readlink -f $0))/../data"

curl https://proxy.hxlstandard.org/data/a16d45/download/Etica_AI_Hate-speech-portuguese_.csv -o "$DATA_DIR/Hate-speech-portuguese.csv"
curl https://proxy.hxlstandard.org/data/a16d45/download/Etica_AI_Hate-speech-portuguese_.csv -o "$DATA_DIR/Hate-speech-portuguese.hxl"
7 changes: 4 additions & 3 deletions bin/translate-readme
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,16 @@
# COMPANY: Etica.AI
# LICENSE: Public Domain / BSD Zero Clause License
# SPDX-License-Identifier: Unlicense OR 0BSD
# VERSION: v2.0.1
# VERSION: v1.0
# CREATED: 2020-12-01 19:32 UTC
# REVISION: ---
#===============================================================================

# Executando da pasta raiz:
# trans pt:en -brief file://README.md -o README.en.md

trans -brief file://README.md -o README.en.md
# trans pt:en -browser firefox -brief file://README.md
# trans pt:en -browser firefox -brief https://github.com/EticaAI/EticaAI-linguistic-datasets-pt/blob/main/README.md
# trans pt:en -browser firefox -brief https://raw.githubusercontent.com/EticaAI/EticaAI-linguistic-datasets-pt/main/README.md

# @see https://stackoverflow.com/questions/762631/find-out-if-a-command-exists-on-posix-system
# @see https://stackoverflow.com/questions/592620/how-can-i-check-if-a-program-exists-from-a-bash-script
Expand Down
14 changes: 14 additions & 0 deletions data/Hate-speech-portuguese.csv
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Termo em Português,Hate speech severity,When non-hate speech,Description (English),Contexto,Is religious discrimination?,Is gender discrimination?,Se ofensa étnica?
#name+x_hate+i_pt,#severity,#description+x_hate_nothate+i_en,#description+i_en,#meta+url,#indicator+hate_religious+bool,#indicator+hate_gender+bool,#indicator+hate_ethnicity+bool
Bicha,50,"In Portugal is a very common word for ""line of people"". But in Brazil is ofensive",Ofense against gays,,-1,,
Viado,50,,Gay (but very ofensive),https://pt.wiktionary.org/wiki/viado,-1,,
Macaco,50,"""Macaco"" is also an animal (monekey). But when used against another human is very ofensive",Monkey,,-1,,1
Sapatão,50,,Lesbian (but very ofensive),,-1,1,
Puta,50,,Slut,,-1,1,
Preto,50,Can designate skin color; can designate color,Black (men),,-1,-1,
Preta,50,Can designate skin color; can designate color,Black (women),,-1,-1,
Vagabunda,50,,Slut,,-1,1,
Piranha,50,,Bitch,,-1,1,
Filho da puta,25,,Son of a slut,,-1,,
"Filha da puta
",25,,Daughter of a Slut,,-1,,
14 changes: 14 additions & 0 deletions data/Hate-speech-portuguese.hxl
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Termo em Português,Hate speech severity,When non-hate speech,Description (English),Contexto,Is religious discrimination?,Is gender discrimination?,Se ofensa étnica?
#name+x_hate+i_pt,#severity,#description+x_hate_nothate+i_en,#description+i_en,#meta+url,#indicator+hate_religious+bool,#indicator+hate_gender+bool,#indicator+hate_ethnicity+bool
Bicha,50,"In Portugal is a very common word for ""line of people"". But in Brazil is ofensive",Ofense against gays,,-1,,
Viado,50,,Gay (but very ofensive),https://pt.wiktionary.org/wiki/viado,-1,,
Macaco,50,"""Macaco"" is also an animal (monekey). But when used against another human is very ofensive",Monkey,,-1,,1
Sapatão,50,,Lesbian (but very ofensive),,-1,1,
Puta,50,,Slut,,-1,1,
Preto,50,Can designate skin color; can designate color,Black (men),,-1,-1,
Preta,50,Can designate skin color; can designate color,Black (women),,-1,-1,
Vagabunda,50,,Slut,,-1,1,
Piranha,50,,Bitch,,-1,1,
Filho da puta,25,,Son of a slut,,-1,,
"Filha da puta
",25,,Daughter of a Slut,,-1,,

0 comments on commit 470a109

Please sign in to comment.