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 keep a Scanner from throwing exceptions when the wrong type is entered?

Here's some sample code: import java.util.Scanner; class In { public static void main (String[]arg) { Scanner in = new Scanner (…

java text-parsing java.util.scanner
how to read text files and create a data frame in R

Need to read the txt file in https://raw.githubusercontent.com/fonnesbeck/Bios6301/master/datasets/addr.txt and convert them …

r text-parsing
Parse string in javascript

How can I parse this string on a javascript, var string = "http://www.facebook.com/photo.php?fbid=322916384419110&set=…

javascript string parsing text-parsing string-parsing
Can awk deal with CSV file that contains comma inside a quoted field?

I am using awk to perform counting the sum of one column in the csv file. The data format is …

csv awk field text-parsing quoting
Java: How read a File line by line by ignoring "\n"

I'm trying to read a tab separated text file line per line. The lines are separated by using carriage return ("\…

java bufferedreader text-parsing carriage-return linefeed
What does NN VBD IN DT NNS RB means in NLTK?

when I chunk text, I get lots of codes in the output like NN, VBD, IN, DT, NNS, RB. Is …

python nlp nltk text-parsing pos-tagger
Python: Read configuration file with multiple lines per key

I am writing a small DB test suite, which reads configuration files with queries and expected results, e.g.: query = "…

python configuration-files text-parsing sql
Splitting large text file by a delimiter in Python

I imaging this is going to be a simple task but I can't find what I am looking for exactly …

python text-parsing
Evaluating a string of simple mathematical expressions

Challenge Here is the challenge (of my own invention, though I wouldn't be surprised if it has previously appeared elsewhere …

math parsing code-golf text-parsing infix-notation