|
|||||||||||||||||||||||||||||||||||||||||
|
[ ID = 1045 ] | Dekang Lin |
---|---|
Name | Lin, Dekang |
Job Title | Professor |
Organisation | University of Alberta |
Address | Department of Computing Science |
Postal Code | T6G 2E8 |
City | Edmonton |
Country | Canada |
Phone | + 780 492 9920 |
Fax | + 780 492 1071 |
Mobile | + |
lindek_(on)_cs.ualberta.ca [@ replaced for spam protection] | |
Organisation URL | |
Personal URL | |
Membership | |
Languages | English |
Specialism | Speechtechnology:
Abductive Inference Ambiguity Chinese NLP Processing Computational Lexicography general linguistics Grammar Information Retrieval Language Learning Lexical Acquisition Machine Learning Algorithms Machine Translation Parsing |
Photograph | Description or CV |
![]() |
|
![]() |
Last update: 2004-05-06 23:08:26 #!/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" |