Tags » Parsing

Groovy - Easy XML Parsing with the XmlSlurper

Groovy comes built-in with a cool feature for parsing XML, and easily “objectifying” it.
Its a one-liner:

def document = new XmlSlurper().parseText(xml); // Convert the XML into an Object Model
… 188 more words

Parsing Halaman Web dengan JSoup

Ada kalanya kita perlu memparsing data dari halaman web tertentu waktu kita mengembangkan sebuah program.  Berikut cara saya melakukannya dengan Java

1. Buat project baru di Netbeans Anda… 414 more words


Python pattern for natural language processing

Python pattern is a good alternative to NLTK with its lightweight and extensive features in natural language processing. In addition, it also have the capability to act as a web crawler and able to retrieve information from twitter, facebook etc. 1,320 more words


Hell is other people's data

“Take a look at the TP53 mutation database“, my colleague suggested. “OK then, I will”, I replied.

I present what follows as “a typical day in the life of a bioinformatician”. 776 more words


Learning About Interpreters


It’s been quite a long time! I’ve been hard at work writing some pretty cool stuff in my most recent of dynamic, imperative languages — Python! 404 more words

Converting a String to a Date in Java (Parsing)

The best way to do this is to use the SimpleDateFormat class in Java (Not the DateFormat class, as this would require a lot more work on your part). 79 more words

Progress Blog

Parsing Dict object from text file (More...)

I have modified the DictParser ,mentioned in previous blog, to handle object parsing. Previous version of DictParser can only handle basic data type, whereas in this version, user can pass a dict of objects for the DictParser to identify and it will replace those variables marked with ‘@’, treating them as objects. 127 more words