microth / heideltime

Automatically exported from code.google.com/p/heideltime
4 stars 1 forks source link

Installation issue #12

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I'm trying to run heideltime on the commandline as follows: 

C:\Home\heideltime-standal
one-1.4>java -jar de.unihd.dbs.heideltime.standalone.jar test.txt -vv 

jul 26, 2013 11:31:23 AM de.unihd.dbs.heideltime.standalone.HeidelTimeStandalone
 main
INFO: Verbosity: '-vv'; Logging level set to ALL.
jul 26, 2013 11:31:23 AM de.unihd.dbs.heideltime.standalone.HeidelTimeStandalone
 main
INFO: Encoding '-e': NOT FOUND OR RECOGNIZED; set to 'UTF-8'
jul 26, 2013 11:31:23 AM de.unihd.dbs.heideltime.standalone.HeidelTimeStandalone
 main
INFO: Output '-o': NOT FOUND OR RECOGNIZED; set to TIMEML
jul 26, 2013 11:31:23 AM de.unihd.dbs.heideltime.standalone.HeidelTimeStandalone
 main
INFO: Language '-l': NOT FOUND; set to ENGLISH
jul 26, 2013 11:31:23 AM de.unihd.dbs.heideltime.standalone.HeidelTimeStandalone
 main
INFO: Type '-t': NOT FOUND OR RECOGNIZED; set to NARRATIVES
jul 26, 2013 11:31:23 AM de.unihd.dbs.heideltime.standalone.HeidelTimeStandalone
 main
INFO: Document Creation Time '-dct': NOT FOUND; skipping.
jul 26, 2013 11:31:23 AM de.unihd.dbs.heideltime.standalone.HeidelTimeStandalone
 main
INFO: Locale '-locale': NOT FOUND, set to environment locale: en_US
jul 26, 2013 11:31:23 AM de.unihd.dbs.heideltime.standalone.HeidelTimeStandalone
 main
INFO: Configuration path '-c': config.props
jul 26, 2013 11:31:23 AM de.unihd.dbs.heideltime.standalone.HeidelTimeStandalone
 readConfigFile
INFO: trying to read in file config.props
jul 26, 2013 11:31:23 AM de.unihd.dbs.heideltime.standalone.HeidelTimeStandalone
 main
INFO: Reading document using charset: UTF-8
jul 26, 2013 11:31:23 AM de.unihd.dbs.heideltime.standalone.HeidelTimeStandalone
 initialize
INFO: HeidelTimeStandalone initialized with language english
Jul 26, 2013 11:31:23 AM de.unihd.dbs.heideltime.standalone.HeidelTimeStandalone
 initialize
INFO: HeidelTime initialized
Jul 26, 2013 11:31:23 AM de.unihd.dbs.heideltime.standalone.HeidelTimeStandalone
 initialize
INFO: JCas factory initialized
Jul 26, 2013 11:31:23 AM de.unihd.dbs.heideltime.standalone.HeidelTimeStandalone
 process
INFO: Processing started
Jul 26, 2013 11:31:24 AM de.unihd.dbs.heideltime.standalone.HeidelTimeStandalone
 process
INFO: Processing finished
Jul 26, 2013 11:31:24 AM de.unihd.dbs.heideltime.standalone.HeidelTimeStandalone
 process
INFO: Result formatted

INFO: Result formatted
<?xml version="1.0"?>
<!DOCTYPE TimeML SYSTEM "TimeML.dtd">
<TimeML>

Upcoming UIMA Seminars

April 7, 2004 Distillery Lunch Seminar
UIMA and its Metadata
12:00PM-1:00PM in HAW GN-K35.

Dave Ferrucci will give a UIMA overview and discuss the types of component metad
ata that UIMA components provide.  Jon Lenchner will give a demo of the Text Ana
lysis Engine configurator tool.

April 16, 2004 KM & I Department Tea
Title: An Eclipse-based TAE Configurator Tool
3:00PM-4:30PM in HAW GN-K35 .

Jon Lenchner will demo an Eclipse plugin for configuring TAE descriptors, which
will be available soon for you to use.  No more editing XML descriptors by hand!

May 11, 2004 UIMA Tutorial
9:00AM-5:00PM in HAW GN-K35.

This is a full-day, hands-on tutorial on UIMA, covering the development of Text
Analysis Engines and Collection Processing Engines, as well as how to include th
ese components in your own applications.
</TimeML>

What version of the product are you using? On what operating system?
I am using the heideltime-standalone-1.4 on Windows. 

Please provide any additional information below.
No dates are tagged in the TimeML file, and I don't get any error message. It's 
the first time I'm trying to use heideltime, so probably something went wrong 
in the installation, but without error message it's hard to fix it. Any ideas 
what it could be?
Thanks!

Original issue reported on code.google.com by rianneka...@gmail.com on 26 Jul 2013 at 9:37

GoogleCodeExporter commented 9 years ago
Hi,

Thanks for you mail. When I use the standalone version (on Linux) with the text 
copied from your issue, I get the output below, which is what you probably 
expected... 

Usually you should not have to install anything when using the standalone 
version except installing TreeTagger and setting the path to TreeTagger in the 
config.props file. But you probably did this because otherwise you would get a 
meaningful error message.

Could you send me your original test file. Maybe there are some strange 
characters which result in a TreeTagger or HeidelTime problem without 
generating any error message.

I suggest the following, please send your test.txt and your config.props to 
heideltime@uni-hd.de. If I can use your original file, it might be a 
Windows-related problem and Julian will contact you later today.

Thank you,
Jannik

<?xml version="1.0"?>
<!DOCTYPE TimeML SYSTEM "TimeML.dtd">
<TimeML>

Upcoming UIMA Seminars

<TIMEX3 tid="t3" type="DATE" value="2004-04-07">April 7, 2004</TIMEX3> 
Distillery Lunch Seminar
UIMA and its Metadata
<TIMEX3 tid="t5" type="TIME" value="2004-04-07T24:00">12:00PM</TIMEX3>-<TIMEX3 
tid="t6" type="TIME" value="2004-04-07T13:00">1:00PM</TIMEX3> in HAW GN-K35.

Dave Ferrucci will give a UIMA overview and discuss the types of component metad
ata that UIMA components provide.  Jon Lenchner will give a demo of the Text Ana
lysis Engine configurator tool.

<TIMEX3 tid="t9" type="DATE" value="2004-04-16">April 16, 2004</TIMEX3> KM & I 
Department Tea
Title: An Eclipse-based TAE Configurator Tool
<TIMEX3 tid="t11" type="TIME" value="2004-04-16T15:00">3:00PM</TIMEX3>-<TIMEX3 
tid="t12" type="TIME" value="2004-04-16T16:30">4:30PM</TIMEX3> in HAW GN-K35 .

Jon Lenchner will demo an Eclipse plugin for configuring TAE descriptors, which
will be available <TIMEX3 tid="t13" type="DATE" 
value="FUTURE_REF">soon</TIMEX3> for you to use.  No more editing XML 
descriptors by hand!

<TIMEX3 tid="t16" type="DATE" value="2004-05-11">May 11, 2004</TIMEX3> UIMA 
Tutorial
<TIMEX3 tid="t18" type="TIME" value="2004-05-11T09:00">9:00AM</TIMEX3>-<TIMEX3 
tid="t19" type="TIME" value="2004-05-11T17:00">5:00PM</TIMEX3> in HAW GN-K35.

This is a full-day, hands-on tutorial on UIMA, covering the development of Text
Analysis Engines and Collection Processing Engines, as well as how to include th
ese components in your own applications. 
</TimeML>

Original comment by jannik.s...@gmail.com on 26 Jul 2013 at 10:22

GoogleCodeExporter commented 9 years ago
Hi again,

Have you downloaded the TreeTagger scripts as shown in the Appendix 
"Information for Windows Users" of the Manual.pdf 

Thanks,
Jannik

Original comment by jannik.s...@gmail.com on 26 Jul 2013 at 10:26

GoogleCodeExporter commented 9 years ago
Hi, 
I did download the TreeTagger scripts: 
See the contents of the lib and cmd directory: 

C:\Users\TreeTagger\lib>dir
 Volume in drive C is System
 Volume Serial Number is 4E51-A119

 Directory of C:\Users\TreeTagger\li

26-07-2013  10:28    <DIR>          .
26-07-2013  10:28    <DIR>          ..
16-05-2012  13:10               564 dutch-abbreviations
01-03-2007  14:38         6.150.649 dutch.par
25-08-2009  10:53               682 english-abbreviations
09-11-2011  16:50        14.411.619 english.par
25-08-2009  10:53               643 french-abbreviations
25-08-2009  10:53             9.047 german-abbreviations
25-08-2009  10:53               328 italian-abbreviations
25-08-2009  10:53                25 spanish-abbreviations
25-08-2009  10:53             3.610 spanish-mwls
15-07-2013  15:06    <DIR>          tagger-scripts.tar
15-07-2013  11:11           114.775 tagger-scripts.tar.gz

C:\Users\kapteinam\AppData\Local\My Local Documents\TreeTagger\cmd>dir
 Volume in drive C is System
 Volume Serial Number is 4E51-A119

 Directory of C:\Users\kapteinam\AppData\Local\My Local Documents\TreeTagger\cmd

15-07-2013  15:06    <DIR>          .
15-07-2013  15:06    <DIR>          ..
25-08-2009  11:36             5.817 filter-chunker-output-french.perl
25-08-2009  10:53             2.287 filter-chunker-output-german.perl
25-08-2009  10:53             2.226 filter-chunker-output.perl
25-09-2009  08:19             1.714 mwl-lookup-greek.perl
25-08-2009  10:53             2.282 mwl-lookup.perl
25-08-2009  10:53             4.985 tokenize.pl
19-06-2012  09:16             4.970 utf8-tokenize.perl        

I'll send you my text file by mail. 

Thanks for your help. 

Rianne

Original comment by rianneka...@gmail.com on 26 Jul 2013 at 10:52

GoogleCodeExporter commented 9 years ago
Hey Rianne,

what you're experiencing is indeed a terrible bug in our resource management 
module that threw a wrench in our cross-platform support. What happens is that 
during resource discovery, OS-specific path delimiters are used to find 
resource entries in a file that was created under Linux, and thus won't find 
anything if the local delimiter is \ as opposed to /.

I've pushed a bugfix in r676009ca8119 and released a hotfix in HeidelTime 
Standalone 1.4.1. You can get it here: 
https://code.google.com/p/heideltime/downloads/detail?name=heideltime-standalone
-1.4.1.zip

Thank you a lot for bringing this to our attention and please accept our 
apologies for any inconveniences this has caused.

Kind Regards,
Julian Zell

Original comment by z...@informatik.uni-heidelberg.de on 26 Jul 2013 at 12:40

GoogleCodeExporter commented 9 years ago
Thanks a lot for the quick fix! It works fine now, on the command line as well 
as in Java. 

Kind regards, 
Rianne

Original comment by rianneka...@gmail.com on 26 Jul 2013 at 1:12

GoogleCodeExporter commented 9 years ago

Original comment by z...@informatik.uni-heidelberg.de on 26 Jul 2013 at 1:14

GoogleCodeExporter commented 9 years ago

Original comment by z...@informatik.uni-heidelberg.de on 29 Jul 2013 at 11:17