Sha256: c6f79e84f6efe5c63138dc0bc2078c0b1fc78a51aa269e6c814f88cb24b4393e
Contents?: true
Size: 1.66 KB
Versions: 7
Compression:
Stored size: 1.66 KB
Contents
# # Copyright 2007 Penn State University # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # http://www.apache.org/licenses/LICENSE-2.0 # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. # package HeaderParse::Config::API_Config; use FindBin qw($Bin); require Exporter; use vars qw($VERSION @ISA @EXPORT @EXPORT_OK %EXPORT_TAGS); @ISA = qw(Exporter); @EXPORT = qw($Classifier $offlineD $Database_Dir $Data_Dir $Tmp_Dir $nMinHeaderLength $nMaxHeaderLength $ServerURL $ServerPort $algName $algVersion); #$Database_Dir = "$FindBin::Bin/../lib/HeaderParse/database"; #$Data_Dir = "$FindBin::Bin/../lib/HeaderParse/data/"; #$offlineD = "$FindBin::Bin/../lib/HeaderParse/OfflineFiles/"; $HeaderParseHome = "$FindBin::Bin/HeaderParseService"; if ($ENV{'SVM_LIGHT_HOME'}.length) { $Classifier = "$ENV{'SVM_LIGHT_HOME'}/svm_classify" } else { $Classifier = "svm_classify5"; # assume on path } $Database_Dir = "$HeaderParseHome/resources/database/"; $Data_Dir = "$HeaderParseHome/resources/data/"; $offlineD = "$HeaderParseHome/resources/models/"; $Tmp_Dir = "$HeaderParseHome/tmp"; $nMinHeaderLength = 50; $nMaxHeaderLength = 2500; %repositories = ('example1' => '/', 'example2' => '/home', ); $algName = "SVM HeaderParse"; $algVersion = 0.2; $ServerPort = 40000; $ServerURL = "130.203.152.158";
Version data entries
7 entries across 7 versions & 1 rubygems