detect_language: This function will search through the Pandas DataFrame column...

Description Usage Arguments Value Examples

View source: R/detect_language.R

Description

This function will search through the Pandas DataFrame column of textual data to detect the language of the corpus.

Usage

1

Arguments

df_col

a list of values in data.frame column with textual data

Value

string the type of language present in the corpus

Examples

1
2
df = data.frame(text = c('He is a good guy.This is the worst coffee I had in my life.'))
detect_language(df$text_col)

UBC-MDS/nlpsummarizer documentation built on April 2, 2020, 3:59 a.m.