#textprocessing
Sort Lines

Type in a few lines and they'll sort either alphabetically, by length; or in a natural sort.

#bluesky #sortlines #textprocessing #naturalsorting #algorithm
Sort Lines
Type in a few lines and they'll sort either alphabetically, by length; or in a natural sort.
webby.tools
April 14, 2026 at 11:20 PM
Trying to clean up OCR errors in text files. Working great on some, not so great on others.

#ocr #textformatting #textfiles #textprocessing
January 25, 2026 at 12:57 PM
Ever felt regex just isn't cutting it for messy, structured text? Rob Pike's structural regex idea—chaining patterns to dissect and reshape data—feels like a game-changer. Check out this Rust take on it. Devs, this could level up your parsing game. #TextProcessing #Rust
November 14, 2025 at 1:32 PM
#APLQuest 2013-03: Write a function that returns the number of words in the given character scalar or vector (see apl.quest/2013/3/ to test your solution and view ours). #APL #WordCount #TextProcessing
APL Quest 2013-3: What Is In a Word
Write a function which returns the number of words in the given character scalar or vector.
apl.quest
October 20, 2025 at 1:14 PM
PS: 📅 #HELPLINE. Want to discuss your article? Need help structuring your story? Make a date with the editors of Low Code for Data Science via Calendly → calendly.com/low-code-blo...

#datascience #textprocessing #nlp #dictionary #textanalysis #KNIME #lowcode #nocode #opensource #visualprogramming
September 8, 2025 at 7:30 AM
Regular expressions solve text processing problems elegantly. Find phone numbers, validate emails, extract data from messy text. Regex is cryptic but powerful. #RegularExpressions #TextProcessing
August 23, 2025 at 11:44 AM
Remember copying text from PDFs and getting this mess?

"This is some text
with terrible
formatting everywhere"

I got tired of manually fixing it, so I built LineBreaker.io. The enemies of clean formatting... WILL KNOW DEFEAT!

#buildinpublic #productivity #textprocessing
July 31, 2025 at 6:40 PM
IBM Pin 0282 / Lotus AmiPro Icon

In the mid 1990s the office software from Lotus was called Lotus SmartSuite. The package contained typical office products for textprocessing, calculation, charting, presentation and data managing.

www.mypins.de/ibm
#ibmpinmuseum
#ibmpins
#ibmpin0282
#lotusamipro
June 25, 2025 at 9:06 AM
#Linux #Command: #awk

A powerful text-processing tool perfect for extracting, analyzing, & transforming structured data. Whether you're working with logs, CSVs, or system output, awk brings scripting power to your command line.

#TextProcessing #CLI #DataParsing #TerminalSkills
June 22, 2025 at 4:04 PM
09-TextProcessing-WordSegment-Case
## Summary This article introduces how to use `@kit.NaturalLanguageKit` in HarmonyOS for text word segmentation and implement a simple sentiment analysis function. By creating a `TextProcessingWordSegment` component, users can input evaluation text, click a button to perform sentiment analysis, and finally display the sentiment tendency (positive, negative, or neutral) of the evaluation. ## Implementation Steps 1. Import the `textProcessing` module from `@kit.NaturalLanguageKit`. 2. Create a `TextProcessingWordSegment` component, which includes a text input box, a text area to display results, and an analysis button. 3. Implement the event handler for the button click, and call `textProcessing.getWordSegment` to perform word segmentation. 4. Create a `SentimentAnalysisService` class to perform sentiment analysis based on the word segmentation results. 5. Display the final sentiment label according to the sentiment score. ## Implementation Code ### 1. Import Modules and Define Components import { textProcessing } from '@kit.NaturalLanguageKit'; @Entry @Component struct TextProcessingWordSegment { @State comment: string = 'The logistics is fast, the packaging is good, and I am particularly satisfied with the product'; @State label: string = '' build() { Column({ space: 20 }) { TextArea({ text: this.comment }) .height(200) Text('Evaluation Nature: ' + this.label) Button('Sentiment Analysis') .onClick(async () => { const results = await textProcessing.getWordSegment(this.comment) const words = results.map(item => item.word) const service = new SentimentAnalysisService() this.label = service.analyze(words) }) } .padding(15) .height('100%') .width('100%') } } ### 2. Sentiment Analysis Service Class // Sentiment Analysis Service Class class SentimentAnalysisService { private positiveWords = ['good', 'satisfied', 'great', 'excellent', 'fast']; private negativeWords = ['bad', 'slow', 'expensive', 'awful', 'unsatisfied']; analyze(words: string[]) { let score = 0.5; words.forEach(word => { if (this.positiveWords.includes(word)) { score += 0.1; } if (this.negativeWords.includes(word)) { score -= 0.1; } }); score = Math.max(0, Math.min(1, score)); const label = score > 0.6 ? 'Positive' : score < 0.4 ? 'Negative' : 'Neutral'; return label; } } ## Conclusion This case demonstrates the method of using `@kit.NaturalLanguageKit` for text processing and implementing simple sentiment analysis in HarmonyOS. By creating components and a service class, we have implemented the functions of text input, word segmentation, and sentiment analysis. The key knowledge points include the creation of HarmonyOS components, state management, the use of asynchronous functions, and simple sentiment analysis algorithms. This method can serve as a foundation to expand more complex natural language processing functions.
forem.com
June 12, 2025 at 3:58 AM
Chonkie 🦛 is a blazing fast, no-bloat Python chunking library for RAG pipelines. Token, semantic, recursive, even agentic chunkers — install, import, CHONK.

🔗 github.com/chonkie-inc/...

#AI #LLM #OpenSource #TextProcessing #PythonTools
GitHub - chonkie-inc/chonkie: 🦛 CHONK your texts with Chonkie ✨ — The no-nonsense RAG chunking library
🦛 CHONK your texts with Chonkie ✨ — The no-nonsense RAG chunking library - chonkie-inc/chonkie
github.com
June 10, 2025 at 4:12 PM