Hot answers tagged

3

pyparsing is really a powerful tool. As the name implies, it's a module for Python. It's like zooming out one step from regexp. There are many examples at http://pyparsing.wikispaces.com/Examples Here's another example which also makes use of regexp, in case you also want to use that for more exact pattern matching.


3

Take a look at UTAH: https://github.com/sonalake/utah-parser It's a good tool for handling files like this.


2

There is a comparison of different weather forecast services here: http://www.randalolson.com/2014/06/21/accuracy-of-three-major-weather-forecasting-services/. Maybe this helps to select the best service for your requirements.


2

Open Weather Map provides an api with JSON data format. you can parse this data very easy in any modern programming language as python, php or javascript. Open Weather Map has APIs for current weather and even weather forecast from 5 to 14 days. JSON is a simple text based data format than can be converted to arrays or any structured data to access it in ...


2

The Los Angeles Times did some very interesting work using natural language processing (NLP) to analyze their archival recipes and convert them into structured data. An interview with the team ran on OpenNews Source, and Anthony Pesce wrote more (including some code samples) on the LAT Data Desk blog.


1

The best option for the English Wiktionary is the Wiktextract project. It offers already parsed versions in JSONL format here. I did something similar and parsed every JSON line to then add it into my database.


1

I wrote Wik2dict a decade ago to turn MW database dumps into the dict format. It's python code. Could help you figuring out some things. The best way to convert this xml into mysql is by using mediawiki's xml import functionality. If you don't have a good reason to import the dump into mysql it's better to avoid it as it's extremely slow with such a large ...


1

I found some hints for the schema here https://meta.wikimedia.org/wiki/Help:Export#Export_format To read manually the XML, try using a viewer like: http://www.readfileonline.com/ http://www.swiftgear.com/ltfviewer/features.html (windows) head -n [numberoflines] dump.xml (gnu/linux terminal)


1

I'm a python fan, so that is the path I normally take. If the CVs are in PDF format, then I use pdftotext to convert them into .txt files (without formatting). Once in .txt files, to find email addresses, I usually split the lines into individual strings, and then look for strings that contain the '@' character. Since that may include twitter names or ...


Only top voted, non community-wiki answers of a minimum length are eligible