Tags » Parsing

Parsing .doc files and extracting content

A follow on blog post will come in upcoming weeks when i get around to this little project, but to keep ontop of it ill write something about it now. 150 more words


Implementing an Earley parser that handles nullable grammars and draws all unique parse trees in full in Python

In CS262 Lesson 4 you were required to write an Earley parser. It was pretty straightforward, all you had to write were the 3 functions shift, reduction and close aka scan, complete and predict. 3,850 more words


Nightcap - Sept 17

Startups and privacy are discussed in The Nightcap – Radar


STM32F0 and the GY-GPS6MV2 GPS receiver - Part 2!

As ever, the massive wealth of information on the internet and a bit of ingenuity of mine has lead to some improvements to my test application! 276 more words

Castalia parser, how to use

Everyone who has ever wanted to create their own scripting engine, or indeed – their own compiler, have checked out the free and open-source Delphi parser called Castalia. 2,062 more words


Scrapping with Scrapy : Part 3

This is the third part of the series Scrapping with Scrapy.

In this post I will covering how to use selenium with scrapy, how to change the template, that gets loaded when a new Scrapy project is created. 328 more words


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