Sha256: 97ecf63dcec87e5a27b85a0a41785a55fda35e95851982ef4b7dc505e5c7f6c8
Contents?: true
Size: 651 Bytes
Versions: 14
Compression:
Stored size: 651 Bytes
Contents
#!/usr/bin/perl -CSD # # Simple command script for executing ParsCit in an # offline mode (direct API call instead of going through # the web service). # # Isaac Councill, 08/23/07 # use strict; use FindBin; use lib "$FindBin::Bin/../lib"; use ParsCit::Controller; my $textFile = $ARGV[0]; my $outFile = $ARGV[1]; if (!defined $textFile) { print "Usage: $0 textfile [outfile]\n"; exit; } my $rXML = ParsCit::Controller::extractCitationsAlreadySegmented($textFile); if (defined $outFile) { open (OUT, ">$outFile") or die "Could not open $outFile for writing: $!"; print OUT $$rXML; close OUT; } else { print "$$rXML"; }
Version data entries
14 entries across 14 versions & 1 rubygems