Code Monkey home page Code Monkey logo

Comments (9)

brawer avatar brawer commented on May 16, 2024 1

So far, I’ve tried to follow the BCP47 language tags as per Unicode conventions. There, macrolanguage codes stand for the individual language that “everyone” (a typical webmaster or programmer who isn’t deeply rooted in the internationalization scene) means when they see that code. For example, according to Unicode/ICU/CLDR, the code for Estonian is et instead of ekk; the code for Modern Standard Ararbic is ar instead of arb; the code for Uzbek is uz instead of uzn; the code for Mandarin is zh; etc. For the full list, see the languageAlias data in CLDR.

from corpuscrawler.

brawer avatar brawer commented on May 16, 2024

Are these Modern Standard Arabic, too? Adding them would be a matter of 1 line each.
http://www.bbc.com/arabic
https://arabic.sputniknews.com/

from corpuscrawler.

brawer avatar brawer commented on May 16, 2024

Seeds for crawling a language corpus in Maroccan Arabic (BCP47 language code ary):

from corpuscrawler.

brawer avatar brawer commented on May 16, 2024

For Algerian Arabic (BCP47 language code arq), see http://www.onlinenewspapers.com/algeria.htm but I wouldn’t know if any of these are in Standard Arabic

from corpuscrawler.

behnam avatar behnam commented on May 16, 2024

Yes, @brawer. These two are definitely both Standard Arabic:
http://www.bbc.com/arabic
https://arabic.sputniknews.com/

About the country-specific news services, I can't tell if we they are in local dialects of Standard Arabic, or the regional Arabic. So, I think we need to ask some help reviewing them one by one.

from corpuscrawler.

behnam avatar behnam commented on May 16, 2024

Actually, ar/ara is the macrolanguage, and we better us arb for Standard Arabic. That's not what websites do, but I think it's safe to make the assumption about the content here to be arb. What do you think?

from corpuscrawler.

behnam avatar behnam commented on May 16, 2024

Cool! Yeah, that's what I though is happening here, but wasn't sure.

About the other links, hopefully regional Arabic sources, I'll send an update as soon as I get more info.

from corpuscrawler.

brawer avatar brawer commented on May 16, 2024

Regarding ary: According to an Arabic speaker, https://www.hespress.com/ (sitemap) might be a source for building a language corpus in Moroccan Arabic. My contact said that the Moroccan newspapers listed earlier on this bug are in Modern Standard Arabic, whereas some (but not all) comments on these sites are in Moroccan dialect.

from corpuscrawler.

khaledhosny avatar khaledhosny commented on May 16, 2024

hespress.com is definitely MSA (including most comments on the random articles I checked). Actually, you are unlikely to find any newspapers in local dialects, your best bet would be forums and the likes that are considered less “formal”.

from corpuscrawler.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.