BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.
-
Upload
ellen-cecilia-wilkinson -
Category
Documents
-
view
215 -
download
0
Transcript of BlogWall at Kent Ridge MRT Station Janaka Prasad 11/07/2008.
BlogWall at Kent Ridge MRT Station
Janaka Prasad11/07/2008
Overview
Main parts of the application Project Plan SMSReader Poetry Generator Backend tools Display
Basic overview of the new application
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
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
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
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
Project Plan
Database
SMSReader
This application reads SMS received by the modem and place them in a database
Other applications read and process the data further
SMSReader
Poetry Generator
This application generates poetry for the received SMS
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
PHP Website
Add poetry to the system
PosTagger
Extract web based poetry data to the system
Tools to do IDF Calculations
IDF - Inverse document frequency
Add/Edit emotional weights/ prefix
Recalculate emotional weights of database
Manage Banned Words
Manage Poetry
Manage Polling
Manage Polling
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.
Display
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
Display
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
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
Q/A