wondering... how does the language of a tweet actually get set ?!
is it taken from the profile settings (location?), http headers set from the user OS or from actually analyzing the text content and assigning to a language with a dedicated algorithm?! On Aug 17, 4:59 pm, Ben Eliott <ben.apperr...@googlemail.com> wrote: > Hi Michael, > Thank you very much for this. Going back to look again at that page > again the ISO link is right there, as you say. I don't know why my eye > skipped over it like that. I guess too much/not enough caffeine. > Thanks again, sorry for the time waster. > Ben > > On 17 Aug 2009, at 15:24, Michael Paladino wrote: > > > According to the documentation of the "lang" parameter under > > "Parameters" > > athttp://apiwiki.twitter.com/Twitter-Search-API-Method%3A-search > > , the language codes should be provided using the ISO 639-1 code > > (actual list athttp://www.loc.gov/standards/iso639-2/php/code_list.php) > > . Those codes are two letter such as “en” for English and “es” for > > Spanish. > > > Hope this helps. > > > Michael Paladino > >http://tidytweet.com > > > -----Original Message----- > > From: twitter-development-talk@googlegroups.com > > [mailto:twitter-development-talk@googlegroups.com > > ] On Behalf Of ben > > Sent: Monday, August 17, 2009 3:35 AM > > To: Twitter Development Talk > > Subject: [twitter-dev] available languages > > > I can't spot information on languages in the wiki. Please can someone > > advise what values are in the language parameter in tweets from the > > search api. All possible iso language codes? two and four codes, e.g. > > en-us and en, or just the two-letter codes? Whatever the user wants? > > Thanks a lot, > > Ben