cortical_text_language: Detect language of a text

Description Usage Arguments Value See Also

Description

Post a piece of text to cortical.io to detect the language. This endpoint will detect the language of an input text. It is capable of identifying more than 50 languages. For best results it is recommended that input texts consist of a minimum of 10 words (approximately 40 to 50 characters). http://api.cortical.io/Text.htm#!/text/getLanguage_post_5

Usage

1

Arguments

text

input a character vector: "a small lamb walked ..."

api

your key, if you saved the key in .renviron leave this NULL.

Value

a list of language, iso tag and possible link to wikipedia

See Also

Other text: cortical_text_keywords, cortical_text_representation, cortical_text_slices, cortical_text_tokenize


RMHogervorst/corticalio documentation built on May 8, 2019, 7:33 a.m.