who can help me with treetagger

xiaoz

永远的超级管理员
Staff member
Jean1333 wrote at 2005-11-1 14:22:04 in the Literature section -

still cannot get sth in the page of result. I downloaded the software here and went to the website recommended by you. but anyhow I cannot get it well.
 
回复: who can help me with treetagger

Text to be POS tagged and lemmatised:

/****************************************************************************/
/* How to install the Windows version of the TreeTagger */
/* Author: Helmut Schmid, IMS, University of Stuttgart, Germany */
/****************************************************************************/
This is the Windows distribution of the TreeTagger.
It contains the following files:
- tree-tagger.exe: the tagger program
- train-tree-tagger.exe: the training program
- tokenize.pl: A Perl script which transforms the tagger input
into one-word-perl-line format
- *-abbreviations: abbreviation lists required by the tokenizer
- tag-*.bat: batch files for different languages which call
the tokeniser and the tagger

Installation
------------
1. Install a Perl interpreter (if you have not already installed one).
You can download Perl for free at
http://www.perl.com/pub/language/info/software.html
2. Move the TreeTagger directory to the root directory of drive C:.
3. Download the PC parameter files for the languages you need, decompress
them (e.g. using Winzip) and move them to the subdirectory lib
4. Add the following line to autoexec.bat (Windows 95/98)
set PATH=C:\TreeTagger\bin;%PATH%
or change the corresponding system settings (Windows NT).
5. Open a shell and type the command
set PATH=C:\TreeTagger\bin;%PATH%
6. Change to the directory C:\TreeTagger
7. Now you can test the tagger, e.g. by analyzing this file with the command
tag-english INSTALL.txt
If you install the TreeTagger in a different directory, you have to
modify the first path in the batch files tag-*.bat.

Note that the TreeTagger comes without a graphical interface. You have
to start it by entering a command in a command line window.

Results of Tagging (token-POS-lemma)
/****************************************************************************/ JJ <unknown>
/* NN <unknown>
How WRB How
to TO to
install VV install
the DT the
Windows NP <unknown>
version NN version
of IN of
the DT the
TreeTagger NP <unknown>
*/ NN <unknown>
/* NN <unknown>
Author NP <unknown>
: : :
Helmut NP Helmut
Schmid NP Schmid
, , ,
IMS NP IMS
, , ,
University NP University
of IN of
Stuttgart NP Stuttgart
, , ,
Germany NP Germany
*/ JJ <unknown>
/****************************************************************************/ NN <unknown>
This DT this
is VBZ be
the DT the
Windows NP <unknown>
distribution NN distribution
of IN of
the DT the
TreeTagger NP <unknown>
. SENT .
It PP it
contains VVZ contain
the DT the
following VVG follow
files NNS file
: : :
- : -
tree-tagger.exe NN <unknown>
: : :
the DT the
tagger NN <unknown>
program NN program
- : -
train-tree-tagger.exe NN <unknown>
: : :
the DT the
training NN training
program NN program
- : -
tokenize.pl NN <unknown>
: : :
A DT a
Perl NP Perl
script NN script
which WDT which
transforms VVZ transform
the DT the
tagger NN <unknown>
input NN input
into IN into
one-word-perl-line NN <unknown>
format NN format
- : -
*-abbreviations NNS <unknown>
: : :
abbreviation NN abbreviation
lists NNS list
required VVN require
by IN by
the DT the
tokenizer NN <unknown>
- : -
tag-*.bat NN <unknown>
: : :
batch NN batch
files NNS file
for IN for
different JJ different
languages NNS language
which WDT which
call VVP call
the DT the
tokeniser NN <unknown>
and CC and
the DT the
tagger NN <unknown>
Installation NN installation
------------ NN <unknown>
1. CD @ord@
Install NN <unknown>
a DT a
Perl NP Perl
interpreter NN interpreter
( ( (
if IN if
you PP you
have VHP have
not RB not
already RB already
installed VVN install
one CD one
) ) )
. SENT .
You PP you
can MD can
download VV <unknown>
Perl NP Perl
for IN for
free JJ free
at IN at
http://www.perl.com/pub/language/info/software.html NN <unknown>
2. CD @ord@
Move VVP move
the DT the
TreeTagger NP <unknown>
directory NN directory
to TO to
the DT the
root NN root
directory NN directory
of IN of
drive NN drive
C NP C
: : :
. SENT .
3. CD @ord@
Download NP <unknown>
the DT the
PC NN PC
parameter NN parameter
files NNS file
for IN for
the DT the
languages NNS language
you PP you
need VVP need
, , ,
decompress VV decompress
them PP them
( ( (
e.g. JJ <unknown>
using VVG use
Winzip NN <unknown>
) ) )
and CC and
move VV move
them PP them
to TO to
the DT the
subdirectory JJ <unknown>
lib NN lib
4. CD @ord@
Add VV add
the DT the
following VVG follow
line NN line
to TO to
autoexec.bat VV <unknown>
( ( (
Windows NP <unknown>
95/98 CD @card@
) ) )
set NN set
PATH=C:\TreeTagger\bin NN <unknown>
; : ;
%PATH NN <unknown>
% NN %
or CC or
change VV change
the DT the
corresponding JJ corresponding
system NN system
settings NNS setting
( ( (
Windows NP <unknown>
NT NP NT
) ) )
. SENT .
5. CD @ord@
Open NP Open
a DT a
shell NN shell
and CC and
type NN type
the DT the
command NN command
set VVN set
PATH=C:\TreeTagger\bin NP <unknown>
; : ;
%PATH NN <unknown>
% NN %
6. CD @ord@
Change NP Change
to TO to
the DT the
directory NN directory
C:\TreeTagger NP <unknown>
7. CD @ord@
Now RB now
you PP you
can MD can
test VV test
the DT the
tagger NN <unknown>
, , ,
e.g. JJ <unknown>
by IN by
analyzing VVG analyze
this DT this
file NN file
with IN with
the DT the
command NN command
tag-english NN <unknown>
INSTALL.txt NN <unknown>
If IN if
you PP you
install VVP install
the DT the
TreeTagger NN <unknown>
in IN in
a DT a
different JJ different
directory NN directory
, , ,
you PP you
have VHP have
to TO to
modify VV modify
the DT the
first JJ first
path NN path
in IN in
the DT the
batch NN batch
files VVZ file
tag-*.bat NN <unknown>
. SENT .
Note NN note
that IN that
the DT the
TreeTagger NP <unknown>
comes VVZ come
without IN without
a DT a
graphical JJ graphical
interface NN interface
. SENT .
You PP you
have VHP have
to TO to
start VV start
it PP it
by IN by
entering VVG enter
a DT a
command NN command
in IN in
a DT a
command NN command
line NN line
window NN window
. SENT .
 
Back
顶部