Top "Text-parsing" questions

Text parsing is a variation of parsing which refers to the action of breaking a stream of text into different components, and capturing the relationship between those components.

How do I tokenize this string in Ruby?

I have this string: %{Children^10 Health "sanitation management"^5} And I want to convert it to tokenize this into an array …

ruby parsing tokenize text-parsing
load std::map from text file

This is a very simple thing, so I want to keep it as simple as it sounds. All I want …

c++ map text-parsing
PDF Text Extraction Approach Using OCR

Has anybody attempted to extract text from a PDF using an OCR library and Java? What did you find to …

java pdf text-parsing
Powershell command to trim path if it ends with "\"

I need to trim path if it ends with \. C:\Ravi\ I need to change to C:\Ravi I have …

powershell filepath text-parsing ends-with
Should I use cut or awk to extract fields and field substrings?

I have a file with pipe-separated fields. I want to print a subset of field 1 and all of field 2: cat …

sed awk field cut text-parsing
Saving nltk drawn parse tree to image file

Is there any way to save the draw image from tree.draw() to an image file programmatically? I tried looking …

python tree nlp nltk text-parsing
How to parse text into sentences

I'm trying to break up a paragraph into sentences. Here is my code so far: import java.util.*; public class …

java text-parsing
How to do Erlang pattern matching using regular expressions?

When I write Erlang programs which do text parsing, I frequently run into situations where I would love to do …

regex string erlang text-parsing