Malaya-Dataset, We gather Bahasa Malaysia corpus! This repository to store corpus for Malaya. We will keep update this repository overtime.
How we gather these corpus?
- For news, articles and subtitles, we use crawler, you can get the code from here, Malaya/crawler
- For Bahasa, mostly we use Google Translator, you can get the code from here, Malaya/translator
- Using social media, I catch most of live data from Twitter, Facebook and Instagram using crawlers, So I just search using Elasticsearch query.
Table of contents
- Corpus
- 200k English-Malay
- 90k synonym
- English-Malay translation
- Articles
- Audience Nationality
- Dependency
- Dictionary, 24550 unique words
- Emotion
- Entities
- Fake News
- Gender
- Insincere question
- Irony
- Karangan sekolah
- Language Detection, Wikipedia
- News, crawled
- Normalize
- sentiment News
- sentiment Twitter
- sentiment Multidomain
- Part of Speech
- Polarity
- Political landscape
- Question-Answer
- Sarcastic news-headline
- Stemmer
- Subjectivity
- Toxicity
- Subtitle
- Suggestion
- Citation
- Donation
Corpus
200K English-Malay
Total size: 6.9 MB
90k synonym
Total size: 4.7 MB
English-Malay translation
Total size: 91.2 MB
Articles
Total size: 3.1 MB
- Filem
- Kerajaan
- Pembelajaran
- Pendidikan
- Sekolah
Audience Nationality
Total size: 246 KB
- constituency
- national
Dependency
Total size: 9.5 MB
Dictionary, 24550 unique words
Total size: 428 KB
Emotion
Total size: 8.5 MB
- Anger
- Fear
- Joy
- Love
- Sadness
- Surprise
Entities, JSON
Total size: 1.1 MB
- OTHER - Other
- law - law, regulation, related law documents, documents, etc
- location - location, place
- organization - organization, company, government, facilities, etc
- person - person, group of people, believes, etc
- quantity - numbers, quantity
- time - date, day, time, etc
- event - unique event happened, etc
Fake News
Total size: 68.2 MB
- Negative
- Positive
Gender
Total size: 2.2 MB
- Unknown
- Male
- Female
- Brand
Insincere question
Total size: 60.4 MB
- Negative
- Positive
Irony
Total size: 465 KB
- Positive
- Negative
Karangan sekolah
Total size: 221 KB
Language-detection, Wikipedia
Total size: 26.2 MB
(array(['OTHER', 'ara', 'ber', 'bul', 'ces', 'cmn', 'dan', 'deu', 'ell',
'eng', 'epo', 'fin', 'fra', 'heb', 'hun', 'ind', 'ita', 'jpn',
'kor', 'lat', 'lit', 'mar', 'mkd', 'nld', 'pol', 'por', 'rus',
'spa', 'srp', 'swe', 'toki', 'tur', 'ukr', 'zlm'], dtype='<U5'),
array([37910, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000,
50000, 10000, 10000, 10000, 10000, 10000, 57327, 10000, 10000,
3687, 10000, 10000, 10000, 10000, 10000, 10000, 10000, 10000,
10000, 10000, 10000, 10000, 10000, 10000, 53692]))
News, crawled
Total size: 28.9 MB
Complete list (51 news)
- Cuti sekolah
- isu 1MDB
- isu agama
- isu agong
- isu agrikultur
- isu air
- isu anwar ibrahim
- isu artis
- isu astro
- isu bahasa melayu
- isu barisan nasional
- isu cikgu
- isu cukai
- isu cyberjaya
- isu dunia
- isu ekonomi
- isu gst
- isu harakah
- isu harga
- isu icerd
- isu imigren
- isu kapitalis
- isu kerajaan
- isu kesihatan
- isu kuala lumpur
- isu lgbt
- isu mahathir
- isu makanan
- isu malaysia airlines
- isu malaysia
- isu minyak
- isu isu najib razak
- isu pelajar
- isu pelakon
- isu pembangkang
- isu perkauman
- isu permainan
- isu pertanian
- isu politik
- isu rosmah
- isu sabah
- isu sarawak
- isu sosial media
- isu sultan melayu
- isu teknologi
- isu TM
- isu ubat
- isu universiti
- isu wan azizah
- peluang pekerjaan
- perkahwinan
Normalize
Total size: 2.6 MB
Sentiment News
Total size: 496 KB
- Positive
- Negative
Sentiment Twitter
Total size: 50.6 MB
- Positive
- Negative
Sentiment Multidomain
Total size: 159 KB
- Amazon review, Positive and Negative
- IMDB review, Positive and Negative
- Yelp review, Positive and Negative
Part-of-Speech
Total size: 3.1 MB
- ADJ - Adjective, kata sifat
- ADP - Adposition
- ADV - Adverb, kata keterangan
- ADX - Auxiliary verb, kata kerja tambahan
- CCONJ - Coordinating conjuction, kata hubung
- DET - Determiner, kata penentu
- NOUN - Noun, kata nama
- NUM - Number, nombor
- PART - Particle
- PRON - Pronoun, kata ganti
- PROPN - Proper noun, kata ganti nama khas
- SCONJ - Subordinating conjunction
- SYM - Symbol
- VERB - Verb, kata kerja
- X - Other
Polarity
Total size: 1.3 MB
- Positive
- Negative
Political landscape
Total size: 2 MB
- Kerajaan
- Pembangkang
Question-Answer
Total size: 2.5 MB
1 mary pergi ke taman. 2 mary pergi ke dapur. 3 husein kembali ke pejabat.
4 husein perjalanan ke lorong. 5 jeff kembali ke bilik tidur. 6 fred berpindah ke lorong.
7 husein berpindah ke bilik mandi. 8 jeff kembali ke taman. 9 jeff kembali ke dapur.
10 fred kembali ke taman. 11 mary mendapat bola sepak di sana. 12 mary menyerahkan bola sepak kepada jeff.
13 apa yang mary berikan kepada jeff? <> bola sepak <> 12.
14 husein kembali ke lorong. 15 jeff kembali ke bilik tidur. 16 apa yang mary berikan kepada jeff? <> bola sepak <> 12.
17 fred berpindah ke bilik mandi. 18 mary mengambil susu di sana. 19 apa yang mary berikan kepada jeff? <> bola sepak <> 12.
20 fred pergi ke dapur. 21 mary menyerahkan susu itu kepada fred. 22 siapa yang memberikan susu itu kepada fred? <> mary <> 21.
23 fred berpindah ke lorong. 24 jeff pergi ke pejabat. 25 siapa yang mary memberikan susu itu? <> fred <> 21
Sarcastic news-headline
Total size: 1.78 MB
- Positive
- Negative
Stemmer
Total size: 6.5 MB
- News stemming
- Wikipedia stemming
Subjectivity
Total size: 1.4 MB
- Positive
- Negative
Toxicity
Total size: 70 MB
Toxicity is multilabel, prefer to use sigmoid based.
- toxic
- severe toxic
- obscene
- threat
- insult
- identity hate
Subtitle
Total size: 1.5 MB
Suggestion
- Always apply text augmentation, like swapping based words using synonyms or thesaurus. We gathered some synonyms if you want to use it, 90k synonyms.
- Malaya also provided interface for text augmentation using word2vec, Malaya-text-augmentation
Citation
- Please citate the repository if use these corpus.
- Please at least email us first before distributing these data. Remember all these hard workings we want to give it for free.
- What do you see just the data, but nobody can see how much we spent our cost to make it public.
Donation
- Husein really need money to stay survive, he is still a human. 7053174643, CIMB Click, Husein Zolkepli