Skip to content

Zanroo Listening

son edited this page Mar 19, 2021 · 8 revisions

How we filter country and language

language (lang.code)

we use CLD library for detect the language

country (info.default_country OR contries.combination)

we use default country or the list below (*combination)


Combination

Are the list below union together (Multi-country).

Multi-country,

  • context

Get from keywords list that defined for each country. and supported only channel Twitter, Instagram and Youtube.

  • language

Guess from the language. ex. If the sentence has a Thai alphabet, we’ll put country as th (because Thailand only uses thai alphabet). If the sentence has an English word, we not put anything because many countries use English alphabet

  • location

Bangkok is from thai or check in location

  • profile

country in the user profile

  • site

ex. domain for .co.th

default country

  • setting

ex. add page A for country th

Clone this wiki locally