Skip to content

Commit

Permalink
Correct small bug in biblio_script
Browse files Browse the repository at this point in the history
  • Loading branch information
lmthang committed Sep 17, 2010
1 parent c7540f2 commit 1b85627
Show file tree
Hide file tree
Showing 9 changed files with 2,727 additions and 1 deletion.
9 changes: 8 additions & 1 deletion biblio_script.sh
Expand Up @@ -6,7 +6,7 @@ import os,sys,getopt,re
# paths to executables
# Thang v100901: minor modifications in the code so that it doesn't matter if the below directory paths end with / or not
PARSCIT_PATH="/Applications/ParsCit/bin/"
BUTILS_PATH="/Applications/bibutils_4.8/"
IBUTILS_PATH="/Applications/bibutils_4.8/"
SAXON_PATH="/Applications/saxonhe9-2-1-2j/saxon9he.jar"

# paths to resources
Expand Down Expand Up @@ -61,10 +61,17 @@ def process_argv(argv):
else:
assert False, "unhandled mode"

inp_file = ""
out_dir = ""
if(len(args) > 1):
inp_file = args[0]
out_dir = args[1]

if(inp_file == "" or out_dir == ""):
sys.stderr.write("#! Empty inp_file \"%s\" or out_dir \"%s\"" %(inp_file, out_dir))
usage()
sys.exit(1)

sys.stderr.write("# (mode, outputType, inputFile, outDir) = (\"%s\", \"%s\", \"%s\", \"%s\")\n" %(mode, out_type, inp_file, out_dir))

# check if the input file exists
Expand Down
174 changes: 174 additions & 0 deletions tmpDir/parscit.ads
@@ -0,0 +1,174 @@
%A Brown, P. F.; Pietra, Della V. J.; deSouza, P. V.; Lai, J. C.; Mercer, R. L.
%T Class-based n-gram Models of Natural Language
%J Computational Linguistics
%W PHY
%G AUTHOR
%R ..................B

%A Karypis, G.; Han, E-H; Kumar, V.
%T Chameleon: A Hierarchical Clustering Algorithm using Dynamic Modeling
%J IEEE Computer. Special Issue on Data Analysis and Mining
%W PHY
%G AUTHOR
%R ..................K

%A Light, M.; Mann, G.; Riloff, E.; Breck, E.
%T Analyses for Elucidating Current Question Answering Technology
%J Natural Language Engineering
%W PHY
%G AUTHOR
%R ..................L

%A Lin, D.; Pantel, P.
%T Discovery of Inference Rules for Question Answering
%J Natural Language Engineering
%W PHY
%G AUTHOR
%R ..................L

%A Maynard, D.; Tablan, V.; Cunningham, H.; Ursu, C.; Saggion, H.; Bontcheva, K.; Wilks, Y.
%T Architectural Elements of Language Engineering Robustness. Natural Language Engineering
%J Architectural Elements of Language Engineering Robustness. Natural Language Engineering, pp. 8-2
%P 8
%L 2
%W PHY
%G AUTHOR
%R .................8M

%A Fellbaum, C.
%T WordNet. An Electronic Lexical Database
%D 00/1998
%W PHY
%G AUTHOR
%R 1998..............F

%A Li, X.; Roth, D.
%T Learning Question Classifiers
%D 00/2002
%W PHY
%G AUTHOR
%R 2002..............L

%A Church, K.; Hanks, P.
%T Word Association Norms, Mutual Information, and Lexicography
%D 00/1989
%P 76
%L 83
%W PHY
%G AUTHOR
%R 1989............76C

%A Cutting, D. R.; Karger, D.; Pedersen, J.; Tukey, J. W.
%T Scatter/Gather: A Cluster-based Approach to Browsing Large Document Collections
%D 00/1992
%P 318
%L 329
%W PHY
%G AUTHOR
%R 1992...........318C

%A Echihabi, A.; Hermjakob, U.; Hovy, E.; Marcu, D.; Melz, E.; Ravichandran, D.
%T Multiple-Engine Question Answering in TextMap
%D 00/2003
%P 772
%L 781
%W PHY
%G AUTHOR
%R 2003...........772E

%A Greenwood, M. A.
%T AnswerFinder: Question Answering from your Desktop
%D 00/2004
%W PHY
%G AUTHOR
%R 2004..............G

%A Harabagiu, S.; Moldovan, D.; Clark, C.; Bowden, M.; Williams, J.; Bensley, J.
%T Answer Mining by Combining Extraction Techniques with Abductive Reasoning
%D 00/2003
%P 375
%L 382
%W PHY
%G AUTHOR
%R 2003...........375H

%A Hermjakob, U.
%T Parsing and Question Classification for Question Answering
%D 00/2001
%W PHY
%G AUTHOR
%R 2001..............H

%A Ittycheriah, A.; Franz, M.; Zhu, W-J; Ratnaparkhi, A.
%T Question Answering Using Maximum Entropy Components
%D 00/2001
%W PHY
%G AUTHOR
%R 2001..............I

%A Krishnan, V.; Das, S.; Chakrabarti, S.
%T Enhanced Answer Type Inference from Questions using Sequential Models
%D 00/2005
%P 315
%L 322
%W PHY
%G AUTHOR
%R 2005...........315K

%A Lin, D.
%T Automatic Retrieval and Clustering of Similar Words
%D 00/1998
%W PHY
%G AUTHOR
%R 1998..............L

%A Lin, D.
%T Language and Text Analysis Tools
%D 00/2001
%P 222
%L 227
%W PHY
%G AUTHOR
%R 2001...........222L

%A Moll´a, D.; Hutchinson, B.
%T Intrinsic versus Extrinsic Evaluations of Parsing Systems
%D 00/2003
%P 43
%L 50
%W PHY
%G AUTHOR
%R 2003............43M

%A Pantel, P.; Lin, D.
%T Document Clustering with Committees
%D 00/2002
%P 199
%L 206
%W PHY
%G AUTHOR
%R 2002...........199P

%A Pereira, F.; Tishby, N.; Lee, L.
%T Distributional Clustering of English Words
%D 00/1993
%P 183
%L 190
%W PHY
%G AUTHOR
%R 1993...........183P

%A Radev, D.; Fan, W.; Qi, H.; Wu, H.; Grewal, A.
%T Probablistic Question Answering on the Web
%D 00/2002
%W PHY
%G AUTHOR
%R 2002..............R

%A Voorhees, E. M.
%T Overview of the TREC
%D 00/2003
%W PHY
%G AUTHOR
%R 2003..............V

0 comments on commit 1b85627

Please sign in to comment.