File: mbtserver.1

package info (click to toggle)
mbtserver 0.17-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,160 kB
  • sloc: cpp: 439; makefile: 25; sh: 12
file content (127 lines) | stat: -rw-r--r-- 1,982 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
.TH mbtserver 1 "2014 december 2"

.SH NAME
mbtserver \- Tilburg Memory Based Tagger Server
.SH SYNOPSIS

mbtserver [server options]

or

mbtserver \-s settingsfile \-S portnumber
.B (deprecated)


.SH DESCRIPTION
mbtserver extends
.B 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.

.SH OPTIONS

.BR \-h " or " \-\-help
.RS
show help
.RE

.BR \-\-config=file
.RS
read the settings for one or more taggers from the specified configuration file.

A configuration file
.I must
contain a port specification:

port=<number>

It
.I may
provide a limit to the number of parallel connections:

maxconn=<number>

And it
.I 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 possible 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
.B mbtg

example config file:
.RS
.nf
port=4567
maxconn=15
test1 = \-s tests/eindh.set
another = \-s tests/wotan.set
.fi
.RE

.RE

.BR \-\-pidfile =file
.RS
store the pid of the main server process in file
.RE

.BR \-\-logfile =file
.RS
log server actions to file
.RE

.BR \-\-daemonize =[yes|no]
.RS
run the server as a daemon. Default is yes.
.RE

.BR \-V " or " \-\-version
.RS
show version
.RE

.B deprecated
options are

.B \-s
settingsfile
.RS
read settings (probably generated with
.B mbtg
) from the settingsfile
.RE

.B \-S
<port>
.RS
run the server on 'port'.
.RE

For
.B mbt
options see
.BR mbt (1)

.SH Accessing the server
To Do

.SH BUGS
possibly

.SH AUTHORS
Ko van der Sloot Timbl@uvt.nl

Antal van den Bosch Timbl@uvt.nl

.SH SEE ALSO
.BR mbt (1)
.BR mbtg (1)
.BR timbl (1)