Git Product home page Git Product logo

business-card-parser's Introduction

business-card-parser

Solution for "Business Card OCR" from http://asymmetrik.com/programming-challenges/

Requires Maven 3.2.2+ and Java JDK 8.

Uses the Apache OpenNLP to perform Name Entity Recognition (NER) on proper names in data sent as an input.

To use this code clone from github and run a mvn clean install from the command line. This will create a:

target/business-card-parser-1.0-SNAPSHOT-jar-with-depencies.jar.

In the target directory you can run it as follows:

user@hostname ~/path/to/business-card-parser/target$ cat ../src/test/resources/example-arthur-wilson.txt
Arthur Wilson
Software Engineer
Decision & Security Technologies
ABC Technologies
123 North 11th Street
Suite 229
Arlington, VA 22209
Tel: +1 (703) 555-1259
Fax: +1 (703) 555-1200
user@hostname ~/path/to/business-card-parser/target$ java -jar business-card-parser-1.0-SNAPSHOT-jar-with-dependencies.jar
usage: business-card-parser.jar
 -f,--file <arg>   File to parse
 -h,--help         Show help
user@hostname ~/path/to/business-card-parser/target$ java -jar business-card-parser-1.0-SNAPSHOT-jar-with-dependencies.jar -f ../src/test/resources/example-arthur-wilson.txt
Name: Arthur Wilson
Phone: 17035551259
Email: [email protected]

business-card-parser's People

Stargazers

Zeeshan rasool avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.