timblclient(1) General Commands Manual timblclient(1)NAME
timblclient - a simple client to access the Tilburg Memory Based Learner Server
SYNOPSYS
timblclient -h host -p port [-i inputfile] [-i outputfile] [--batch] [-b basename]
DESCRIPTION
timblclient connects to a TimblServer on 'host':'port' and sends it the normal instructions. (see timblserver )
OPTIONS
The timblclient options are
-i inputfile
a series of timblserver commands.
When BATCH is specified, inputfile is supposed to be a 'normal' Timbl testfile. Every line is send to the timblserver as a 'clas-
sify' command. Default is stdin.
-o outputfile
Where to put the results. Default is stdout.
--batch
When --batch is specified, the input from 'inputfile' is not interpreted as timblserver commands, but as instances that will be send
'as is' prepended by a classify instruction.
-h host
connect to the server on 'host'
-p port
connect to 'port' on 'host'
-b basename
set the base in TimblServer to 'base'
BUGS
This is just a simple testprogram, and rather clumsy.
AUTHORS
Ko van der Sloot timbl@uvt.nl
SEE ALSO timbl(1)timblserver(1)
2011 march 28 timblclient(1)
Check Out this Related Man Page
mbtserver(1) General Commands Manual mbtserver(1)NAME
mbtserver - Tilburg Memory Based Tagger Server
SYNOPSYS
mbtserver [server options]
or
mbtserver -s settingsfile -S portnumber (deprecated)
DESCRIPTION
mbtserver extends mbt with a server layer. It provided the possibility to access a trained tagger from multiple sessions. It also allows
one to run and access different taggers in parallel.
OPTIONS -h or --help
show help
--config=file
read the settings for one or more taggers from the specified configuration file.
A configuration file must contain a port specification:
port=<number>
It may provide a limit to the number of parallel connections:
maxconn=<number>
And it must give one or more mbt tagger descriptions:
<base>=<mbt options line>
The <base> is a basename for the Tagger that will be started with the options specified. The basename is needed because it is possi-
ble to start several (different) taggers. When accessing the server, we need a way to tell which Tagger we want to use. In general,
the mbt options line will just be something like: "-s <settingsfile>", where settingsfile is a file generated by mbtg
example config file:
port=4567
maxconn=15
test1 = -s tests/eindh.set
another = -s tests/wotan.set
--pidfile=file
store the pid of the main server process in file
--logfile=file
log server actions to file
--daemonize=[yes|no]
run the server as a daemon. Default is yes.
-V or --version
show version
deprecated options are
-s settingsfile
read settings (probably generated with mbtg ) from the settingsfile
-S <port>
run the server on 'port'.
For mbt options see mbt(1)Accessing the server
To Do
BUGS
possibly
AUTHORS
Ko van der Sloot Timbl@uvt.nl
Antal van den Bosch Timbl@uvt.nl
SEE ALSO mbt(1)mbtg(1)timbl(1)
2011 march 21 mbtserver(1)
In perl I want to do remove the top line of my input file then process the next line. I want to do something like
head -1 inputfile > temp
grep -v temp inputfile > newinputfile
cp newinputfile inputfle
is this possible in perl? (3 Replies)
Hello all:
I'm trying to use the tr command to change some text in a file, but it is not working as expected. Here's what I'm trying:
tr 'INVOIC01' 'INVOICZZ' < inputfile > outputfile
It looks to be changing not just the entire string, but any characters within. I just want to change the... (2 Replies)
I have a variable length file that needs to be reformatted to 80 byte reclen before I ftp it to a customer. What is the best way to do this? I tried using dd if=inputfile of=outputfile conv=noblock cbs=80, and it almost gives me what I need. The output file needs to be 80-byte records, and the last... (4 Replies)
I have a batch file that takes 2 parameters--source file location and target file location.
I want to create another batch file that contains all the commands with the file locations so that I dont have to enter the ifnromation every time individually.
For eg:
to execute command
com1.bat... (3 Replies)
Hello, guys !
I tried to compile PHP on one of my servers (LAMP). Everything worked fine only that I tried to set my march to pentium4 and it did not accepted it. It told me that it is a x86_64 architecture and pentium4 is not supported (I don't remember the exact error, but this was the ideea).... (2 Replies)
I have a simple query
If we have BATCH= 081675
and incremnting it by one as
BATCH=`expr ${BATCH} + 000001`;
We can't get BATCH = 081676
but gets BATCH = 81676
Can anyone tell why i am getting this value and not the rquired one and how i could get the required one? (1 Reply)
inputfile:
A B C D
E F G H
1 2 3 4
-----------
I want to read these and put them into a variable:
file=../inputfile
col2line1=`cat $file | awk '{print $2}'`
how do i extract row 2's E,F,G,H or row 3's 1,2,3,4???
I tried the search, didn't get much, maybe i suck at searching too... (4 Replies)
Hi,
I am using sed and nawk command for replace/add/remove on file records.
But when I am using the inputfile name and directing output to the same inpu name file becomes empty.
I don't want to use to copy it to another file and move it back to original file.
Example:
sed 's/./,&/17'... (2 Replies)
Hi,
Please help to write DOS /Perl script to capture router AAA logs to store in file.
RADIUS: id 1, priority 1, host 59.163.6.103, auth-port 1901, acct-port 1902
State: current UP, duration 1928071s, previous duration 0s
Dead: total time 2798488914s, count 0
Authen:... (0 Replies)
I need a simple command line executable that allows me to convert a wmv file into an mpg file like this:
wmv2mpg inputfile.mwv > outputfile.mpg
I cannot find it on internet. I tried installing mencoder but I cannot get it to work.
Thanks. (4 Replies)
i have a file, let's call it file.
march 2008 january 2008
march 1920 march 2002
i want to output the first line, not the second as you can see the second line has different numbers. (8 Replies)
Hi,
i have an assignment saying there are two files
1. inputfile
2. outputfile
input file contains some lines,
my question is i need to write a shell script to copy contains on input file to output file
and also it need to display each line copying from input file to output file.
i... (1 Reply)
Hi,
i have problem saying there are two files
1. inputfile
2. outputfile
input file contains some lines,
my problem is i need to write a shell script to copy contains on input file to output file and also it need to display each line copying from input file to output file.
i copied contains... (1 Reply)
I've noticed that when running a script that connects to a number of our servers (to essentially run batch commands) that the commands aren't logged in the user's .sh_history or .bash_history files. Is there a place where this is logged (assuming the script itself isn't doing the logging and I'm... (3 Replies)