Shakespeare Lookup Documentation

This system is a demo client server web based system that allows users to query the complete works of Shakespeare for word matches.

It can be seen here: Shakespeare Lookup

ShakespeareLook-up.png

Components:

  1. Web Page - Uses to interact with User
    • sslookup.html
  2. sslookupclient - CGI program the Web Pag communicates with through the Apache web server using AJAX
    • sslookupclient.cpp
    • fifo.cpp
  3. sslookupserver - a background program then receives word search requests and returns lines with matching words.
    • sslookupserver.cpp
    • fifo.cpp
    • textindex (see below)
  4. textindex - a module that takes any text file and builds a complete index. Uses english stemming.
    • textindex.cpp
    • textindex.h
    • english_stem.h
    • narrow_wide_string.h
    • string_util.h
    • utilities.h
    • meta.h
    • stemming.h
  5. indexdemo - Used for testing the indexing function
    • indexdemo.cpp
    • textindex.h
  6. testclient - used to test the FiFo communication and functions of the sslookupserver without using a web interface
    • testclient.cpp
    • fifo.cpp

Running sslookupserver as a background process

% ./sslookupserver &

Runs it in the background until the parent process (the terminal session) is terminated (logout)

% nohup ./sslookupserver &

Runs it in the background forever, until terminated or the system reboots.

To find it:

ps -aef | grep username

Topic attachments
I Attachment Action Size Date Who Comment
Pngpng ShakespeareLook-up.png manage 36.9 K 2015-03-31 - 18:57 JimSkon  
Topic revision: r2 - 2015-03-31 - JimSkon
 
This site is powered by the TWiki collaboration platformCopyright &© by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback