• Compete
  • Learn
  • Community
ico-magnifying_glass

    John Hancock - Create Email Parser

    PRIZES

    1st

    $1,200

    2nd

    $600

    Register
    Submit
    The challenge is finished.
    Show Deadlines icon-arrow-up

    Challenge Overview

    Welcome to John Hancock - Create Email Parser Contest. As part of this contest, you will be writing an email parser that extracts meaningful text from it.

     

    Contest Details

    Our client wants to create a new Skill in Amazon Alexa. This skill allows the user to ask Alexa to read out a list of news headlines and after listening to the headlines, to ask Alexa to read the detailed news for a specified headline.

     

    The source of this news will be from an email. The client gets periodic emails which contains news headlines and their details and the client would like to use this as the source for the Skills’ news.

     

    The setup will be as follows:

    1. We will upload the emails in .txt format to Amazon S3.

    2. You need to write a AWS Lambda function that periodically checks S3 for new emails and processes them. You can use it with Scheduled Events (to run it periodically - once every 24 hours).

    3. The Emails will always be of a specific format, content wise. So you need to go through it and extract the news headlines from it. We are of the opinion that regular expressions should be able to extract the data. You can proceed with an alternative approach if you think it is better. Additionally, you also need to remember the already processed files so that you don’t process it again.

    4. In order to store the news and the details about the processed emails, you can use a database of your choosing. The database however has to be a cloud based solution. Amazon DynamoDB or Mongolab’s MongoDB are some suggestions.

     

    Points To Note

    • Use Nodejs v6 for your Lambda function.

    • The major requirement for this contest is to get the parsing of the email correct. Extract the news from the email and format the data correctly (format will be shared in the contest forum).

    • The minor requirement for this contest is the setup itself - creating the lambda function and storing the data in the database.

    Final Submission Guidelines

    Your submission should contain detailed instruction on how to upload the emails to S3 (go with the easiest approach). Additionally, it should contain the lambda function and detailed steps on uploading it to AWS Lambda, including the configuration necessary to periodically call the function. Upload it as a zip file to Topcoder

    Reliability Rating and Bonus

    For challenges that have a reliability bonus, the bonus depends on the reliability rating at the moment of registration for that project. A participant with no previous projects is considered to have no reliability rating, and therefore gets no bonus. Reliability bonus does not apply to Digital Run winnings. Since reliability rating is based on the past 15 projects, it can only have 15 discrete values.
    Read more.

    ELIGIBLE EVENTS:

    2018 TopCoder(R) Open

    REVIEW STYLE:

    Final Review:

    Community Review Board
    ?

    Approval:

    User Sign-Off
    ?

    CHALLENGE LINKS:

    Review Scorecard