<commit_before>package ParsCit::Config;


## Global

$algorithmName = "ParsCit";
$algorithmVersion = "1.0";


## Repository Mappings

%repositories = ('rep1' => '/repositories/rep1',
                 'example1' => '/',
		 'example2' => '/home',
		 );


## WS settings

$serverURL = '172.16.17.32';
$serverPort = 10555;
$URI = 'http://citeseerx.org/algorithms/parscit/wsdl';


## Tr2crfpp
## Paths relative to ParsCit root dir ($FindBin::Bin/..)

$tmpDir = "tmp";
$dictFile = "resources/parsCitDict.txt";
$modelFile = "resources/parsCit.model";

if ($ENV{'CRFPP_HOME'}.length) {
  $crf_test = "$ENV{'CRFPP_HOME'}/crf_test" 
}
else {
  $crf_test = "crf_test"; # assume on path
}

## Citation Context

$contextRadius = 200;
$maxContexts = 5;
$context_premark = "=-=";
$context_postmark = "-=-";

## Write citation and body file components

$bWriteSplit = 1;


1;<commit_msg>Need to find bin inside CRFPP_HOME<commit_after>package ParsCit::Config;


## Global

$algorithmName = "ParsCit";
$algorithmVersion = "1.0";


## Repository Mappings

%repositories = ('rep1' => '/repositories/rep1',
                 'example1' => '/',
		 'example2' => '/home',
		 );


## WS settings

$serverURL = '172.16.17.32';
$serverPort = 10555;
$URI = 'http://citeseerx.org/algorithms/parscit/wsdl';


## Tr2crfpp
## Paths relative to ParsCit root dir ($FindBin::Bin/..)

$tmpDir = "tmp";
$dictFile = "resources/parsCitDict.txt";
$modelFile = "resources/parsCit.model";

if ($ENV{'CRFPP_HOME'}.length) {
  $crf_test = "$ENV{'CRFPP_HOME'}/bin/crf_test" 
}
else {
  $crf_test = "crf_test"; # assume on path
}

## Citation Context

$contextRadius = 200;
$maxContexts = 5;
$context_premark = "=-=";
$context_postmark = "-=-";

## Write citation and body file components

$bWriteSplit = 1;


1;
{'fraction_non_alphanumeric': 0.1873231465761177, 'fraction_numerical': 0.030560271646859084, 'mean_word_length': 4.065902578796561, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5267183', 'n_tokens_mistral': 732, 'n_tokens_neox': 664, 'n_words': 132}