LanguageMachines / frog

Frog is an integration of memory-based natural language processing (NLP) modules developed for Dutch. All NLP modules are based on Timbl, the Tilburg memory-based learning software package.
https://languagemachines.github.io/frog
GNU General Public License v3.0
75 stars 11 forks source link

Frog exits with non-zero exit code and "Nothing done" but performs fine #37

Closed proycon closed 7 years ago

proycon commented 7 years ago

When running like this on a directory with FoLiA input:

frog --skip=mcpa --xmldir "." --threads 40 --testdir input/ -x

Frog works fine but exits with non-zero exit code (bit of the reverse of the #31 situation we had earlier):

  frog 0.13.8 (c) CLTS, ILK 1998 - 2017
  CLST  - Centre for Language and Speech Technology,Radboud University
  ILK   - Induction of Linguistic Knowledge Research Group,Tilburg University
  based on [ucto 0.9.7, libfolia 1.9, timbl 6.4.10, ticcutils 0.16, mbt 3.2.17]
  frog-:config read from: /vol/customopt/lamachine.dev/share/frog/nld/frog.cfg
  frog-:configuration version = 0.12
  frog-mblem:Initiating lemmatizer...
  frog-ner-:loaded 2 additional Named Entities from/vol/customopt/lamachiine.dev/share/frog/nld/ner.known
  frog-tok-:Initiating tokeniser...
  frog-tok-:tokconfig-nld: version=0.2
  frog-ner-mbt-:  Reading the lexicon from: /vol/customopt/lamachine.dev/share/frog/nld/ner.data.lex.ambi.05 (73735 words).
  frog-ner-mbt-:  Read frequent words list from: /vol/customopt/lamachine.dev/share/frog/nld/ner.data.top1000 (1000 words).
  frog-ner-mbt-:  Reading case-base for known words from: /vol/customopt/lamachine.dev/share/frog/nld/ner.data.known.ddwdwfWawawaa... 
  frog-ner-mbt-:  case-base for known words read.
  frog-ner-mbt-:  Reading case-base for unknown words from: /vol/customopt/lamachine.dev/share/frog/nld/ner.data.unknown.chnppddwdwFawawaasss... 
  frog-pos-tagger-mbt-:  Reading the lexicon from: /vol/customopt/lamachine.dev/share/frog/nld/Frog.mbt.1.0.lex.ambi.05 (229170 words).
  frog-pos-tagger-mbt-:  Read frequent words list from: /vol/customopt/lamachine.dev/share/frog/nld/Frog.mbt.1.0.top500 (500 words).
  frog-pos-tagger-mbt-:  Reading case-base for known words from: /vol/customopt/lamachine.dev/share/frog/nld/Frog.mbt.1.0.known.dddwfWawa... 
  frog-ner-mbt-:  case-base for unknown word read
  frog-ner-mbt-:  Sentence delimiter set to 'EL'
  frog-ner-mbt-:  Beam size = 1
  frog-ner-mbt-:  Known Tree, Algorithm = IGTREE
  frog-ner-mbt-:  Unknown Tree, Algorithm = TRIBL
  frog-ner-mbt-:
  frog-pos-tagger-mbt-:  case-base for known words read.
  frog-pos-tagger-mbt-:  Reading case-base for unknown words from: /vol/customopt/lamachine.dev/share/frog/nld/Frog.mbt.1.0.unknown.chnppdddwFawasss... 
  frog-pos-tagger-mbt-:  case-base for unknown word read
  frog-pos-tagger-mbt-:  Sentence delimiter set to '<utt>'
  frog-pos-tagger-mbt-:  Beam size = 1
  frog-pos-tagger-mbt-:  Known Tree, Algorithm = IGTREE
  frog-pos-tagger-mbt-:  Unknown Tree, Algorithm = IB1
  frog-pos-tagger-mbt-:
  frog-:Initialization done.
  frog-:Frogging input/gent.folia.xml
  frog-tok-:ucto: --filter=NO is automaticly set. inputclass equals outputclass!
  frog-:tokenisation took:  0 seconds, 116 milliseconds and 851 microseconds
  frog-:CGN tagging took:   376 seconds, 223 milliseconds and 482 microseconds
  frog-:NER took:           610 seconds, 230 milliseconds and 163 microseconds
  frog-:Mblem took:         41 seconds, 830 milliseconds and 724 microseconds
  frog-:Frogging in total took: 1427 seconds, 68 milliseconds and 952 microseconds
  frog-:resulting FoLiA doc saved in ./gent.folia.xml
  Nothing done.
kosloot commented 7 years ago

"Nothing Done" is NOT a Frog message. some external script is to blame IMHO

proycon commented 7 years ago

Confirmed, message is from mmv, not Frog