tika.language module

tika.language.from_buffer(string, requestOptions={})[source]

Detects language of content in the buffer :param string: buffered data :return:

tika.language.from_file(filename, requestOptions={})[source]

Detects language of the file :param filename: path to file whose language needs to be detected :return: