VOOZH about

URL: https://apify.com/zsoftware/language-detector

⇱ Language Detector Β· Apify


Pricing

Pay per usage

Go to Apify Store

Detect the language of each line of text using machine learning. Paste multiple lines of text into the input, and this actor will identify the language of each one, returning results with confidence scores and alternative guesses based on a trained statistical model.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

πŸ‘ Karim

Karim

Maintained by Community

Actor stats

0

Bookmarked

16

Total users

0

Monthly active users

a year ago

Last modified

Share

Language Detector Actor

This actor detects the language of each line of text using machine learning techniques. It allows users to input multiple lines of text, with each line representing a separate text sample. The actor will return the detected language for each line, along with confidence scores and alternative language guesses.

Features

  • Language Detection: Automatically detects the language of each line of text.
  • Confidence Scores: Provides the likelihood of the language detection for each guess.
  • Alternative Guesses: In case the first guess isn't 100% accurate, it returns additional language options with probabilities.
  • Multi-line Support: Accepts multiple text lines as input (one per line), with each line being processed individually.

Input

  • Text: Paste or enter multiple lines of text (one text sample per line). Each line will be processed separately to detect the language.

Example Input

Hello, how are you?
Bonjour, comment Γ§a va?
γ“γ‚Œγ―ζ—₯本θͺžγ§γ™γ€‚

Output

The actor will return the detected language for each line of text, along with alternative language guesses and their confidence scores.

Example Output

[
{
"text":"Hello, how are you?",
"language":"en",
"confidence":0.999995
},
{
"text":"Bonjour, comment Γ§a va?",
"language":"fr",
"confidence":0.999991
},
{
"text":"Hola, ΒΏcΓ³mo estΓ‘s?",
"language":"es",
"confidence":0.999995
},
{
"text":"γ“γ‚Œγ―ζ—₯本θͺžγ§γ™γ€‚",
"language":"ja",
"confidence":1.0
}
]

How It Works

  1. Input Processing: Users input multiple lines of text (one line per text sample). Each line is parsed and passed to the language detection model.
  2. Language Detection: The actor uses a machine learning model (Naive Bayes classifier) to detect the language based on n-gram patterns found in the input.
  3. Output: For each line of text, the actor returns the detected language, along with the confidence score and alternative guesses.

Deployment

This actor is deployed on Apify and can be used via the Apify Console. Once deployed, users can provide text as input and retrieve language detection results through the UI.

Usage

  1. Go to the Apify Console.
  2. Run the actor with your text input.
  3. Download the results or view them in the Apify UI.

Limitations

  • The actor is best suited for shorter texts, such as sentences or short paragraphs.
  • Accuracy can vary with very short or ambiguous text inputs.

You might also like

Language Detector

kurilov_ai/language-detector

Detect the language of one or multiple text inputs. The actor provides the detected language in standard codes along with confidence scores for each candidate language. It is optimized for both short and long texts, supports batch processing, and delivers results quickly and reliably.

πŸ‘ User avatar

Andrey Kurilov

1

Code Language Detector β€” Identify Any Programming Language

maged120/programming-language-detector

Paste any code snippet and instantly identify its programming language. Returns the detected language with a confidence score β€” supports 50+ languages.

Text Sentiment Analysis

easyapi/text-sentiment-analysis

Analyze the sentiment of your text, submit single or multiple lines of text and receive a detailed report, including the number of lines analyzed and the breakdown of sentiments (positive, negative, neutral). Gain insights into the emotional tone of your content effortlessly!

DeepL Translate Scraper πŸŒπŸ”€

scrapestorm/deepl-translate-scraper

Gather DeepL translation results by keywords 🌐. Access detailed translations with original text, translated text, language pairs πŸ”„, timestamps ⏰, and more. Ideal for language learning, research, and multilingual projects πŸ“Š. Perfect for translators, researchers, and language enthusiasts.

25

5.0

Download HTML from URLs

mtrunkat/url-list-download-html

This actor takes a list of URLs and downloads HTML of each page.

πŸ‘ User avatar

Marek TrunkΓ‘t

9.3K

Download HTML from URLs

scrapeai/html-downloader

This actor takes a list of URLs and downloads HTML of each page.

GPT-2 text generation

jirimoravcik/gpt2-text-generation

This actor uses the GPT-2 language model to generate text.

πŸ‘ User avatar

JiΕ™Γ­ Moravčík

423

LeadScraper

cdubiel/lead-scraper

Scrape a list of urls and receive business contact information, social media links, and a description of the services. This actor will scrape across multiple pages in the sitemap and returns a confidence score to every phone number and email that it finds. webscraper, scrape leads, web scraper

144

5.0

Related articles

Python and machine learning
Read more
What is generative AI?
Read more
How to improve AI models with web scraping and data augmentation
Read more