language.tag

Two-character IETF language code that identifies the language in which the post is written; for example: "en", "fr". DataSift generates this language code by inspecting interaction.content.

The Language augmentation determines the language in which a post is written.

The language analysis is run against the interaction.content target of the input object. We examine three-characters blocks of text and perform statistical analysis to detect the language.

See also: language.tag_extended.

Here's a list of the languages we can detect.

Read more about how language detection works.

Examples

  1. Filter for posts written in English:

    language.tag == "en"

  2. Filter for posts written in English or French:

    language.tag in "en, fr"

Resource information

Target service: Augmentation Target: Language

Type: string

Array: No

Always exists: No