BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

29
BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008

Transcript of BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

Page 1: BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

BlogWall at Kent Ridge MRT Station

Janaka Prasad11/07/2008

Page 2: BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

Overview

Main parts of the application Project Plan SMSReader Poetry Generator Backend tools Display

Page 3: BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

Basic overview of the new application

Page 4: BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

How it is going to work

4 individually working units Communicate with each other via database Each unit can be modified without affecting the other

Page 5: BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

Main parts of the application

SMS Reader Reads SMS from the modem and write to

the database SMS Processor

Process received SMS;• Check banned words• Create poetry

Display OpenGL/Freetype font library application that

displays or Interpret data

Page 6: BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

Main parts of the application

Backend Applications PHP website to add poetry to the system Tool to extract web based poetry data to the system Tools to carry out system related calculations

• IDF (inverse document frequency)• Emotional weights• Emotional words & prefixes

Tool to manage banned words in the system Tool to manage configuration files of the applications Manage poetry in the system Tool to manage polling

Page 7: BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

Overview

GSM/GPRSModem

SMS Reader

Term Importance(tf-idf weight)

Message Filter

POS TaggerEmotional words

& qualifiers

Significant words+ Synonyms from

the Internet

Synonym

Locator

Internet

Select mostimportant words

(tf-idf weight)

Contextual form

Poem lines

Emotional Weight

Final Selection/Display

Page 8: BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

Project Plan

Page 9: BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

Database

Page 10: BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

SMSReader

This application reads SMS received by the modem and place them in a database

Other applications read and process the data further

Page 11: BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

SMSReader

Page 12: BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

Poetry Generator

This application generates poetry for the received SMS

Page 13: BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

Poetry Generator

Get Lines from table “sms”where status=0

Last entry?

YES

NO

YES

Init DataProcessor

Read “settings.cfg” file to get

number of word to selectnumber of synonyms to select

check synonyms in Internetcheck for banned words

polling enabled

ErrorEnd YES

Set “sms”status=1

Load banned words Initialize POS Tagger

Tag SMS with POS Tagger No of words > 2

YES

Set “sms” valid=0

NO

Banned words inSMS?

Delete sms record YES Calculate weight

Find important words inSMS using tf/idf

NO

Fetch synonyms from Internet

Select poetry lines

Load valid charsNO

Is numeric

Invalid chars?

NO

With in range of pollans?

YES

NO

Update polls

YES

NO

YES

Page 14: BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

PHP Website

Add poetry to the system

Page 15: BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

PosTagger

Extract web based poetry data to the system

Page 16: BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

Tools to do IDF Calculations

IDF - Inverse document frequency

Page 17: BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

Add/Edit emotional weights/ prefix

Page 18: BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

Recalculate emotional weights of database

Page 19: BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

Manage Banned Words

Page 20: BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

Manage Poetry

Page 21: BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

Manage Polling

Page 22: BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

Manage Polling

Page 23: BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

Display

Incoming messages will drive through the Poetry buildings. The message will be broken down and/or replaced with synonyms The message will "Visit" buildings and turn itself to a poetry.

Page 24: BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

Display

Page 25: BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

Display

Incoming messages will be surrounded by poetry sphere. The message will be broken down and/or replaced with synonyms Unselected poetries will disappear, explode. Resulting poetry will be displayed

Page 26: BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

Display

Page 27: BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

Hardware

Item Qty Unit Price

Wavecom fastrack modem 1 600 SGD

High-end computer 1 3600 SGD

Quad core or better  

Maximum memory  

(as available in deployment stage - 2010)  

Projectors vary based on the screen size  

Type depend on the screen size and the distance to the screen

  

ANSI LUMENS - 3500   3600 SGD

Very high end graphic card for the computer 1 720 SGD

   

If 2 projectors are sufficient we can use dual output graphic card  

If more projectors are needed;  

DVI Video Splitter (buy additionally to the graphic card) 655 SGD

Post paid SIM card 1 60 SGD

Page 28: BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

Software

Item Qty Unit Price

Operating system – Microsoft Windows XP 1320USD or

240 SGD OEM or comes with the computer

.NET framework 2 1 (free)

MySQL (5.0) 1 (free)

MySQL .NET connector - mysql-connector-net-5.0.8.1 (free) 1 (free)

Apache (2.2) 1 (free)

PHP (5) 1 (free)

OpenGL/ Freetype font library 1 (free)

Software dictionary 1 1635 SGD

Page 29: BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.

Q/A