patrickfrey/strusAnalyzer

error handling when semicolon is missing in attribute definition

andreasbaumann opened this issue · 2 comments

[Attribute]
	no = orig content lineno
	docid = orig content id;

If executing:

strusAnalyze -D 'text/tab-separated-values' -g tsv gutenberg.ana gutenberg.tsv | & less

I just don't see 'no'. I also don't see an error message about the ';' missing.

Fixed (in strusUtilities, it is a program loader issue)

I see now:

ERROR failed to load analyzer program gutenberg.ana: error defining expression for 'textwolf' segmenter: error in selection expression 'id' at start of expression

or

ERROR failed to load analyzer program gutenberg.ana: error in document analyzer program at line 10 column 42: unexpected end of line in selector expression (missing semicolon ';' at end of expression?)