|
|||||||||||||||||||||||||||||||||||||||||
|
[ ID = 0719 ] | Dr David Milward |
---|---|
Name | Milward, Dr David |
Job Title | Chief Technology Officer |
Organisation | Linguamatics |
Address | St John's Innovation Centre, Cowley Road |
Postal Code | CB4 0WS |
City | Cambridge |
Country | United Kingdom |
Phone | +44 1223 421360 |
Fax | +44 1223 421361 |
Mobile | + |
david.milward_(on)_linguamatics.com [@ replaced for spam protection] | |
Organisation URL | http://www.linguamatics.com |
Personal URL | http://homepage.ntlworld.com/david.milward/ |
Membership | ELSNET |
Languages | English |
Specialism | Information Extraction
Biomedical Text Mining Natural Language Semantics Robust Parsing and Understanding Computational Semantics Shallow Parsing Categorial Grammar Spoken Dialogue and Robust Speech Understanding Dialogue Systems |
Photograph | Description or CV |
![]() |
|
![]() |
Last update: 2008-08-28 11:05:57 #!/usr/bin/ksh # cntr.cgi -- # version 0 DOC=$DOCUMENT_ROOT$DOCUMENT_URI VSTART=28-08-2008 WRONGLOG=${DOCUMENT_ROOT}/cntr.txt echo Content-type:text/html echo case $DOC in *experts*) CDIR=${DOCUMENT_ROOT}/cntex ;; *orgs*) CDIR=${DOCUMENT_ROOT}/cntor ;; *) WRONG=yes ;; esac CFILE=${DOC##*/} case ${CFILE} in [0-9][0-9][0-9][0-9].html) WRONG=no ;; *) WRONG=yes ;; esac [ $WRONG = yes ] && { echo "$(date) $REMOTE_ADDR ${DOC}" >> $WRONGLOG exit } CCNT=${CDIR}/${CFILE%.html}.txt CLCK=${CDIR}/${CFILE%.html}.lck [ -s $CCNT ] && COUNT=$(head -1 $CCNT) COUNT=$(( ${COUNT:-0} + 1 )) [ -f $CLCK ] || { touch $CLCK echo $COUNT > $CCNT rm -f $CLCK } echo " Visits since $VSTART: $COUNT" |