Top "Text-segmentation" questions

Text segmentation is the process of dividing written text into meaningful units, such as words, sentences, or topics.

How to iterate through sentence of string in Python?

Assume I have a string text = "A compiler translates code from a source language". I want to do two things: …

python text-segmentation
How to split paragraphs into sentences?

Please have a look at the following. String[]sentenceHolder = titleAndBodyContainer.split("\n|\\.(?!\\d)|(?<!\\d)\\."); This is how I tried …

java regex string split text-segmentation
How to capitalize first letter of first word in a sentence?

I am trying to write a function to clean up user input. I am not trying to make it perfect. …

php regex user-input text-segmentation
Split sentence into words

for example i have sentenes like this: $text = "word, word w.d. word!.."; I need array like this Array ( [0] => …

php text-segmentation
Extract the last word in sentence/string?

I have an array of strings, of different lengths and contents. Now i'm looking for an easy way to extract …

ruby string substring text-segmentation
Explode a paragraph into sentences in PHP

I have been using explode(".",$mystring) to split a paragraph into sentences. However this doen't cover sentences that have been …

php string explode text-segmentation
opencv - cropping handwritten lines (line segmentation)

I'm trying to build a handwriting recognition system using python and opencv. The recognition of the characters is not the …

python opencv text-segmentation handwriting-recognition
counting the number of sentences in a paragraph in c

As part of my course, I have to learn C using Turbo C (unfortunately). Our teacher asked us to make …

c while-loop char words text-segmentation
Is there any good open-source or freely available Chinese segmentation algorithm available?

As phrased in the question, I'm looking for a free and/or open-source text-segmentation algorithm for Chinese, I do understand …

algorithm open-source cjk text-segmentation
php sentence boundaries detection

I would like to divide a text into sentences in PHP. I'm currently using a regex, which brings ~95% accuracy and …

php regex nlp text-segmentation