This library can detect the language of a given text string. It can parse given training text in many different idioms into a sequence of N-grams and builds a database file in JSON format to be used in the detection phase. Then it can take a given text and detect its language using the database previously generated in the training phase. The library comes with text samples used for training and detecting text in 106 languages.
language-detection alternatives and related libraries
Based on the "Text Processing" category
Do you think we are missing an alternative of language-detection or a related project?
language-detection RecommendationsThere are no recommendations yet. Be the first to promote language-detection!
Have you used language-detection? Share your experience. Write a short recommendation and language-detection, you and your project will be promoted on Awesome PHP.
Recently added language-detection resources
Be the first to add one!