Identify language using Franc package

Asked

Viewed 20 times

0

I can’t write the code for that package franc identify the language of the worksheet data. This is the package repository: https://github.com/MangoTheCat/franc

The following code does not give me the desired result:

library(franc)
teste_franc <- read_excel("/teste-franc.xlsx")
head(teste_franc)
franc(teste_franc)    

It reads only the phrase and indicates the translation.

How to read data from a spreadsheet and identify your language?

  • 2

    Welcome to Stackoverflow! Unfortunately, this question cannot be reproduced by anyone trying to answer it. Please take a look at this link (mainly in the use of function dput) and see how to ask a reproducible question in R. So, people who wish to help you will be able to do this in the best possible way.

  • teste_franc is a data.frame, not a string, the function franc has a vector "character" length 1 as input.

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.