NLP Sentiment (Stanford cs224d Assignment 3)
01 Nov 2017 updated: 01 Mar 2018Overview
Sentiment analysis is one of the subject area of NLP that benefited by the recent advancement in deep learning. Stanford cs224 Assignment 3 let student to work with one of the latest deep learning model for sentiment analysis, Recursive Neural Network (RNN). The assigment is to predict sentence positive/nagative sentiment. The dataset is Stanford Sentiment Treebank.
This is a journal/notes from having done the assignment.
Concepts
The premesis of the model is one can write algorithm that better predict sentiment by breaking sentence into it’s sythactical structure.
A sentence can be tricky. “Good God the movie is slow” has different sentiment than “Even it is slow in the beginning the ending is good”. Eventhough both sentences contain “slow” and “good” but the sentiment are completely different. It seems other than the word itself, there a structure and phrase in a sentence that make it positive/negative.
A sentence can be broken down into tree/root of words. A word can form a subject, verb and noun. Combining words turn them into noun phrase or verb phrase etc. One can keep combining these phrases until to look like a tree/root structure. Each words and phrase have their own sentimens.
Consider “Deliciously slow.”, It can be broken down into tree/root of words with each own sentiment label. The labels are 0,1,2,3,4. One being very negative, two neutral and 4 very positive (the assignment simplify the labels into positive/negative). The root (sentence) is labeled 3 which is positive. “Deliciously” is also labeled as 3 (positive)
root(3)
_____|_______
| |
| node(1)
| ___|___
| | |
Deliciously(3) slow(1) .(2)
For more complex sentence can be broken down as below:
A Word about The Datasets
The dataset is Stanford Sentiment Treebank.
The data is represented as flattened tree structure. The data contains :
- sentence sentiment score or root score (0/– to 4/++).
- each word (a leaf) score
- node score which can be combined score two words, or a word and a node, or node with other node.
 (2) which is neutral
| | | leaf/word 'slow'
| | score for 'slow' (1) which is -
| a node and score for word 'slow' and '.'
a root score (3) which is +
For further information about Stanford Sentiment Treebank here
Implementation
both implementations are in tensorflow


 These Terms will be applied fully and affect to your use of this Website. By using this Website, you agreed to accept all terms and conditions written in here. You must not use this Website if you disagree with any of these Website Standard Terms and Conditions.
You are specifically restricted from all of the following
1. publishing any Website material in any other media;
2. selling, sublicensing and/or otherwise commercializing any Website material;
3.using this Website contrary to applicable laws and regulations, or in any way may cause harm to the Website, or to any person or business entity;
This Website is provided “as is,” with all faults, and ddustudymate express no representations or warranties, of any kind related to this Website or the materials contained on this Website. Also, nothing contained on this Website shall be interpreted as advising you
These Terms constitute the entire agreement between NotesHub and you in relation to your use of this Website, and supersede all prior agreements and understandings


The latest version of CIXReader for Windows is $(version)
$ifscript
Include beta release changes
$endif
Version $(version)
Fix issue missing spelling checker directory.
Fix exception on startup due to empty INI file.
Version 1.67.1208
Fix issue with duplicate mail message replies.
Version 1.66.1204
Default new installations of CIXReader to starting up offline.
Added first run initialisation to set up database before CIXReader starts.
Add File->Refresh to refresh database while offline.
Potential fix for toolbar relayout crash on startup.
Potential fix for spelling checker crash on startup.
Performance: remove animation when displaying search bar.
Version 1.65.1170
Fix issue where orphan messages don't appear when grouping by conversation.
Version 1.64.1155
Fix bug which may cause CIXReader to crash on first run.
Version 1.63.1150
Filtering now works properly when conversations are collapsed.
Version 1.62.1122
Hover over a CIX link in a message now shows a tooltip with a summary of that message.
Deleting a folder now automatically resigns the topic or forum.
Inbox conversation subject line now retrieved from API.
Added Preferences option to Mark All Read across the whole database.
mailto links are now clickable.
Many minor bug fixes.
Version 1.61.1114
Minor bug fixes courtesy of Father Christmas.
Version 1.61.1113
Rules now supported via Settings->Rules dialog.
Add command to block messages from a specified user by marking them read automatically.
Add Refresh button to forums summary page to refresh the forum details.
Counts on dynamic folders is now an option in Settings->Viewing, off by default.
Source code released to GitHub.
Add option to Account to enable e-mail notifications when sent a PM or tagged in a message.
Version 1.60.1028
Fix bug where dropbox shared image URLs didn't render.
Allow 'S' and 'C' shortcuts to work in inbox view.
Fix scroll issue with paging messages with the spacebar.
Version 1.60.1026
Handle cix:/ link format.
Handle parenthesis in the middle of a URL.
Multi-colour quote levels.
Don't try to inline Dropbox links.
Fix an issue with unread priority inside ignored threads.
Minimum supported version is now Windows 7.
Version 1.60.1015
New home page that shows top threads and online users.
New folder tree layout to match the Mac OSX version.
Add option to always start CIXReader at the home page.
Backtrack now restores unread state of message.
'Q' key now aliases to replying and quoting the original message'.
New message markup parser.
Improved handling of missing messages.
Fixed multiple image rendering issue.
Version 1.60.1014
Improved handling of missing messages.
Fixed status bar rendering issue.
Fixed multiple image rendering issue.
Version 1.60.1013
More bug fixes.
Version 1.60.1012
Lots of minor bug fixes.
Version 1.60.1009
New home page that shows top threads and online users.
New folder tree layout to match the Mac OSX version.
Add option to always start CIXReader at the home page.
Backtrack now restores unread state of message.
'Q' key now aliases to replying and quoting the original message'.
New message markup parser.
Improved self-repair of inconsistent folders.
Lots of minor bug fixes.
Version 1.55.918
New thread pane which is much faster than the old one. (Single pane mode is unavailable for this version).
Toolbar can now be customised.
Support showing and hiding ignored threads.
Conversations can now be collapsed by default.
Conversations is now a grouping option and they can now be sorted by date, subject or author, ascending or descending.
Renamed Private Message to PMessage.
Read state synchronised with the server on shutdown.
Version 1.55.912
Bug fixes.
Version 1.55.908
New thread pane which is much faster than the old one. (Single pane mode is temporarily unavailable).
Toolbar can now be customised.
Support showing and hiding ignored threads.
Conversations can now be collapsed by default.
Conversations is now a grouping option and they can now be sorted by date, subject or author, ascending or descending.
Renamed Private Message to PMessage.
Read state synchronised with the server on shutdown.
Version 1.51.823
Batch all read and unread requests to further reduce network traffic.
Various performance tweaks with the message caching.
Handle paste of invalid characters into Goto dialog input field.
Add ability to reply to a CIX message via private mail.
Reply in noticeboard and pc.noticeboard to messages not your own now brings up reply via private mail.
Click the read icon on a collapsed message to mark the thread read or unread.
Added option in Settings to schedule cache cleanup on startup.
Fix issue where some images did not correctly render inline.
Fix crashing issue where directory isn't fully initialised.
Version 1.51.822
Fix issue with focus being lost in editor.

Synchronisation between CIXReader and other CIXReader clients now works much better.
Improved logging with new message posting.
Version 1.51.819
Fix for stuck unread message when it occurs in the first collapsed thread in the list.
Version 1.51.816
Batch all read and unread requests to further reduce network traffic.
Version 1.51.814
Minor bug fixes.
Version 1.51.813
Fix unhandled exception bug.
Removed option to toggle fast sync as it is now enforced.
Version 1.51.812
Minor bug fixes.
Version 1.51.811
Various performance tweaks with the message caching.
Click the read icon on a collapsed message to mark the thread read or unread.
Add option in Settings to schedule cache cleanup on startup.
Version 1.51.808
Fix an issue with some mugshots not being correctly persisted to the database.
Version 1.51.807
Fixed an issue where out of order sync can cause duplicate messages.
Version 1.51.806
Bug fixes.
Version 1.51.805
Bug fixes.
Version 1.51.804
Fast Sync now implemented. Enable this via the Preferences and report feedback.
Handle paste of invalid characters into Goto dialog input field.
Add ability to reply to a CIX message via private mail.
Reply in noticeboard and pc.noticeboard to messages not your own now brings up reply via private mail.
Version 1.51.803
Minor release to test upgrade changes in 1.51.
Version 1.51.802
Upgrade now runs silently.
Fix issue where some images did not correctly render inline.
Fix crashing issue where directory isn't fully initialised.
Version 1.50.744
New CIXReader branding.
Database schema upgraded to improve performance. First time run will perform an upgrade but the schema changes still permit reverting to an earlier build with some messages temporarily out of sync with the server.
Optional menu bar now displayed at the top of the window, controlled by Settings.
New global toolbar replaces the old forum and directory specific versions and can be turned on or off via the View menu or the Settings dialog.
Revamped Settings dialog.
Support for multiple signatures and per-forum signatures.
Display forum participants list.
Implement drag and drop of message to a topic folder to copy that message to the topic.
Add Manage Forum feature to allow moderators to edit their forum details and add and remove participants and co-moderators.
Add 'Search With' to message right-click menu to search for selected text via one of three search engines.
Account panel is now a dialog box.
Messages are now rendered using the Markdown syntax as for the Mac OSX version of CIXReader.
You can now print CIX messages or mail conversations.
You can now switch between single and split view layout without restarting CIXReader.
Switched to API2.
New Outbox smart folder that now shows pending, non-draft, messages.
Messages can now be sorted by author, date, subject or conversation.
Go To now displays an error if the message number doesn't exist.
Can now join a forum by entering its name rather than from the directory.
Double-clicking a draft message now opens it up for editing.
New option to toggle between short and long date formats in messages.
Fixes for Windows High Contrast themes.
Added Help menu command to view the change log.
UI cleanup and polish in various places.
Compact Database temporarily removed.
'V' shortcut key added to toggle plain text display.
As for the OSX version, Edit->Quote now works as a reply rather than a new message.
Message search results now include a link back to the message in its original thread.
Version 1.50.742
Fix issue where Reply fails to pick up selected text for quoting.
Fix issue where arrow navigation keys stop working in the thread list.
Updated theme editor with additional custom attributes.
Version 1.50.735
Fix race conditions and a sequencing issue in the database engine that causes an exception.
Fix timing of the rule engine with withdrawn messages that caused folder count mismatch.
Version 1.50.734
Fix exception when deleting topic.
Sorting by author, date or subject now shows 200 messages per page.
Version 1.50.733
Fixes for Windows High Contrast themes.
Version 1.50.731
Fixed an issue where a withdrawn message caused an unread count mismatch.
Version 1.50.730
Added Help menu command to view the change log.
UI cleanup and polish in various places.
Compact Database temporarily removed.
Fixed an issue where marking a priority thread normal or priority didn't stick.
Bug fixes.
Version 1.50.729
'V' shortcut key added to toggle plain text display.
Bug fixes.
Version 1.50.728
Implement drag and drop of message to a topic folder to copy that message to the topic.
Bug fixes.
Version 1.50.727
Fix bug where priority and ignored message flags weren't inherited correctly.
Add Manage Forum feature to allow moderators to edit their forum details and add and remove participants and co-moderators.
Version 1.50.725
Fix bug where unread icon on root folder didn't update.
As for the OSX version, Edit->Quote now works as a reply rather than a new message.
Message search results now include a link back to the message in its original thread.
Version 1.50.724
Fix bug where drafts folder didn't show some draft messages.
Added option to Settings to show or hide the toolbar.
Fix bug where back button skipped messages.
Version 1.50.723
New CIXReader branding.
Database schema upgraded to improve performance. First time run will perform an upgrade but the schema changes still permit reverting to an earlier build with some messages temporarily out of sync with the server.
New global toolbar replaces the old forum and directory specific versions.
Toolbar can now be shown or hidden via the View menu.
Various bug fixes.
Version 1.50.717
Fixed bug where Participants dialog failed to appear.
Version 1.50.716
Revamped Settings dialog.
Support for multiple signatures.
Support per-forum signatures.
Display forum participants list.
Add 'Search With' to message right-click menu to search for selected text via one of three search engines.
Account panel is now a dialog box.
Optional menu bar now displayed at the top of the window, controlled by Settings.
Messages are now rendered using the Markdown syntax as for the Mac OSX version of CIXReader.
You can now print CIX messages or mail conversations.
You can now switch between single and split view layout without restarting CIXReader.
Switched to API2.
New Outbox smart folder that now shows pending, non-draft, messages.
Messages can now be sorted by author, date, subject or conversation.
Go To now displays an error if the message number doesn't exist.
Can now join a forum by entering its name rather than from the directory.
Double-clicking a draft message now opens it up for editing.
New option to toggle between short and long date formats in messages.
Version 1.21.531
New Directory view which allows sorting.
The Message editor now includes a Subject line.
Your mugshot is now always refreshed when you visit the Account page while online.
Display "Reply to message..." in comment message header which can be clicked to go to the original.
Bug fixes.
Version 1.20.526
Added Set Signature/Delete Signature to editor popup menu. Simply type a signature, highlight and right
click on the text and choose Set Signature to make that text your signature.
Added Read-Lock on messages. Press 'L' to set a locked, unread, flag on the current message.
Add Install Script to system menu to install CIXReader script packages.
Can now close a profile window with Esc or Ctrl+F4.
Can now override mugshots by putting a replacement image in the Mugshots folder in the CIXReader data
folder with the username as the filename.
Support Ctrl+K to mark the current topic read.
Fix a bug where some messages didn't scroll into view when selected.
Fix a bug where backtracking missed some messages.
Added more shortcut keys to dialogs for improved accessibility.
Added F5 to invoke the system menu.
Improvements for running CIXReader on high DPI displays.
Add IndentationOffset configuration option in ini file for adjusting indentation in thread list.
Expanded the Keyboard Help dialog.
Version 1.10.517
Message search capability, across a topic or forum.
Added optional status bar that shows background activities.
Added support for scripting via Lua. See http://developer.cixonline.com/cixreaderapi.aspx for details.
Added option to disable rendering markdown codes in messages.
Root font now configurable in Theme Editor.
Can now configure the message pane font separately.
Can now compact a database from Settings.
Can now resign a forum or topic via the forums list popup menu.
Can force refresh a specific folder or forum.
New 'G' command to go to a specific message.
New default theme. The old theme is now renamed "Blue" in Settings.
Log files can now be optionally archived.
User's account type is now shown on the Account page.
Performance improvements under the hood.
UI style tweaks.
Version <IP_ADDRESS>5
Fix potential crash on startup with splitter bar.
Fix bug with folder counts getting out of sync.
Version <IP_ADDRESS>4
Fix a bug where Ctrl+C and Reply does not pick up selected text in three pane mode.
Add more validation to a private message recipient name.
Check main window position on startup and ensure it is constrained to the desktop.
Allow re-ordering a forum to underneath the Draft folder.
Remove selection toggle when clicking on items.
Fix bug where thread items show expanded in three pane mode.
Add 'W' shortcut key for Withdraw messages.
Version <IP_ADDRESS>2
Fix exception when restarting CIXReader after it was shut down while minimised.
Fix NHunspellExtender exception when minimising editor.


<<<<<<< HEAD
Welcome, FirstName LastName
Last login :
=======
Welcome, FirstName LastName
Last login :
>>>>>>> b970cfe8f5dc8e96ead9daf17102c4fc07a1fc08
Account Transaction Details
Accounts :
Savings
Current
Date From :
Date To :
Search
Name
Position
Office
Age
Start date
Salary
Tiger Nixon
System Architect
Edinburgh
61
2011/04/25
$320,800


Home
Categories
About
Contact
Search
Search Companies
Search Ads
Search Jobs
Info
How it Works
Pricing
Company Profile
Ad Page
Sign Up
Log in
All Categories
Home
/All Categories
Arts & Entertainment
Bookstores, Libraries, Cinemas, Music Venues, Record Stores
Business and Consumer Services
Business Services, Shipping & Logistics, Online Marketing
Computer Electronics & Technology
IT Stores, Electronics, Graphic & Web Design, Software Development
E-Commerce & Shopping
E-Stores, Boutiques, Retailers, Supermarkets, Digital Distribution
Finance
Accounting & Auditing, Exchange Offices, Insurance Companies
Food & Drink
Restaurants, Bars, Cofffe Shops, Delivery, Food Production
Health
Dentists, Geriatric & Aging Care, Pharmacies, Mental Health
Heavy Industry & Engineering
Architecture, Agriculture, Chemical Industry, Metals & Mining, Waste
Home & Garden
Furniture, Gardening Equipment, Interior Design & Improvement
Pets & Animals
Pet Shops, Animal Shelters, Zoos, Food & Supplies, Veterinarians
Real Estate
Commercial Real Estate, Manufactured Housing, Vacation Houses
Science & Education
Courses, Training, Private Schools, Universities, Museums, Libraries
Sports
Sport Equipment, Sport Facilities, Sport Venues, Tennis Courts, Gyms
Travel & Tourism
Accommodation, Hotels, Air Travel, Attractions, Trips & Excursions
Vehicles
Automotive Industry, Mechanics, Auto Parts & Cosmetics, Boats