Live data from Hacker News

Scrapely: The brains behind Portia, our visual web scraping tool

blog.scrapinghub.com

11–15 of 15 posts

Re: Scrapely: The brains behind Portia, our visual web scraping tool

#11
post #9

This looks like a good solution for scrapers where "close enough" is good enough. If you need 100% accuracy you can always fall back to using scrapy directly and make your scraping logic as accurate as you need. But in many cases you can live with some false positives and then this tool looks like it will fit the bill.

We've actually developed a way that you can convert Portia projects into Scrapy spiders: https://blog.scrapinghub.com/2016/06/29/introducing-portia2c...

and since this is all open source, here's a link to GitHub: https://github.com/scrapinghub/portia2code

Re: Scrapely: The brains behind Portia, our visual web scraping tool

#13
post #10
post #7

Does anyone know what methods are state of the art in machine learning for data extraction in general or where I could get an overview (invoices,images, documents etc.)?

There are many methods for different tasks. What do you mean by 'data extraction', do you have some specific examples?

After the OCR of documents, I have used mostly regex to extract information from semi-structured documents. One example would be invoices (invoice number, total amount etc.), another would be to extract product names, SKU numbers etc. from various documents.

Re: Scrapely: The brains behind Portia, our visual web scraping tool

#14
post #7

Does anyone know what methods are state of the art in machine learning for data extraction in general or where I could get an overview (invoices,images, documents etc.)?

We would need more context/information about your specific objectives.

- document conversion (pdftotext, pdfbox, apache tabula, etc.)

- OCR (tesseract, pypdfocr, etc.)

- Named-Entity-Recognition (NER) i.e. finding and recognizing entities in text (DBPedia Spotlight, stanford NER via NLTK, spacy)

- coreference resolution, dependency parsing (spacy, syntaxnet)

Re: Scrapely: The brains behind Portia, our visual web scraping tool

#15
post #14
post #7

Does anyone know what methods are state of the art in machine learning for data extraction in general or where I could get an overview (invoices,images, documents etc.)?

We would need more context/information about your specific objectives. - document conversion (pdftotext, pdfbox, apache tabula, etc.) - OCR (tesseract, pypdfocr, etc.) - Named-Entity-Recognition (NER) i.e. finding and recognizing entities in text (DBPedia Spotlight, stanford NER via NLTK, spacy) - coreference resolution, dependency parsing (spacy, syntaxnet)

Thanks. Some great keywords to investigate. I'm namely interested in two areas at the moment: - invoices (I guess NER would be partially an Option) - web scrapping (wrapper induction)
Post reply on HN