langid.py | NLTK | |
---|---|---|
2 | 64 | |
2,242 | 13,035 | |
- | 0.8% | |
0.0 | 8.1 | |
over 4 years ago | 17 days ago | |
Python | Python | |
BSD 3-clause "New" or "Revised" License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
langid.py
-
Curator v0.1.0: Auto-organize large movie collections (AI language detection+sync)
Right now it's in early stages: It can detect languages from audio and subtitles (Whisper+LangID) with good results so far tried with 52 movies here (failed with just 1 which was silent). I'm currently working on synchronization: Hopefully subtitle timestamps and audio sound effects can suffice for cross-correlation. After that, I'll work on the TUI (maybe add a proper GUI too) to improve UX.
-
Announcing Lingua 1.0.0: The most accurate natural language detection library for Python, suitable for long and short text alike
Python is widely used in natural language processing, so there are a couple of comprehensive open source libraries for this task, such as Google's CLD 2 and CLD 3, langid and langdetect. Unfortunately, except for the last one they have two major drawbacks:
NLTK
-
Building a local AI smart Home Assistant
alternatively, could we not simply split by common characters such as newlines and periods, to split it within sentences? it would be fragile with special handling required for numbers with decimal points and probably various other edge cases, though.
there are also Python libraries meant for natural language parsing[0] that could do that task for us. I even see examples on stack overflow[1] that simply split text into sentences.
[0]: https://www.nltk.org/
-
Sorry if this is a dumb question but is the main idea behind LLMs to output text based on user input?
Check out https://www.nltk.org/ and work through it, it'll give you a foundational understanding of how all this works, but very basically it's just a fancy auto-complete.
-
Best Portfolio Projects for Data Science
NLTK Documentation
- Where to start learning NLP ?
-
Is there a programmatic way to check if two strings are paraphrased?
If this is True, then you need also Natural Language Toolkit to process the words.
-
[CROSS-POST] What programming language should I learn for corpus linguistics?
In that case, you should definitely have a look at Python's nltk library which stands for Natural Language Toolkit. They have a rich corpus collection for all kinds of specialized things like grammars, taggers, chunkers, etc.
-
Transition to ml, starting with LLM
If not, start with Python's Natural Language Toolkit.
-
Learning resources for NLP
Try https://www.nltk.org it runs you through the basics. The book is here
-
Which programming language should I learn for NLP and computational linguistics?
In terms of programming languages, Python is a great first programming language. the learnpython subreddit has lots of good recommendations for resources to get started. Once you're comfortable with the language, NLTK would be a good place to start, and the docs have heaps of examples. Check it out https://www.nltk.org/
-
Python for stock analysis?
The most popular library to do this is NLTK though I believe you can use some of the popular AI API services today as well. Bloomberg launched one.
What are some alternatives?
polyglot - Multilingual text (NLP) processing toolkit
spaCy - 💫 Industrial-strength Natural Language Processing (NLP) in Python
TextBlob - Simple, Pythonic, text processing--Sentiment analysis, part-of-speech tagging, noun phrase extraction, translation, and more.
py3langid - Faster, modernized fork of the language identification tool langid.py
bert - TensorFlow code and pre-trained models for BERT
Stanza - Stanford NLP Python library for tokenization, sentence segmentation, NER, and parsing of many human languages
stanfordnlp - [Deprecated] This library has been renamed to "Stanza". Latest development at: https://github.com/stanfordnlp/stanza
Jieba - 结巴中文分词
PyTorch-NLP - Basic Utilities for PyTorch Natural Language Processing (NLP)