Code Monkey home page Code Monkey logo

message-extraction's Introduction

Message Extraction Sample

this example is based on a task that we worked on half a year ago for our online message box. At eBay Kleinanzeigen buyers and sellers used to communicate via E-Mail through our platform.

We introduced a new feature called message box to allow people a quicker and less formal way of communication. Message box can be used transparently over different channels (a user of messagebox might be communicating with a user that still uses e-mails).

One of the biggest challenge we had, was to cope with the e-mail format in order to extract the actual contents of a mail from our template text in the first mail and all the quotation mess that mail clients produce.

Tasks and considerations

This is a complicated task and we know that you're not going to finish it in time. Also, we have not found a perfect solution. We want to see your approach and considerations as well as your style of work. (and maybe learn from your ideas ;) )

For this task you can assume that:

  • you can use any libraries you want (pom.xml)
  • we only cope with plaintext mails (no html content e-mails)
  • conversations will always be a ping pong: message from A -> message from B -> message from A. (not something like Message from A -> message from A -> message from B)
  • you will have to handle all weird sorts of quotation styles that mail clients may or may not use.
  • users may mix their replies with the quoted parts (meaning they reply individually to each paragraph)
  • This project is configured for Java 7 as default - but you may change this to Java 8 if you like.

message-extraction's People

Watchers

 avatar  avatar  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.