Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unnecessary warning of missing input when adding text with -A #237

Closed
niklas88 opened this issue Apr 16, 2019 · 0 comments
Closed

Unnecessary warning of missing input when adding text with -A #237

niklas88 opened this issue Apr 16, 2019 · 0 comments

Comments

@niklas88
Copy link
Member

When using the -A flag to add text data to an existing index, the IndexBuilderMain warns of a missing Knowledge Base input.

For example using command

 IndexBuilderMain -i /index/wikidata-2019-03-06 -A -w /input/wordsfile-2018-11-28-wikidata.tsv -d /input/docsfile-2018-11-28.tsv

results in the following warning

Tue Apr 16 10:33:59.189 - INFO:  No input knowledge-base-file specified. Parsing from stdin
Tue Apr 16 10:33:59.189 - WARN:   Could not deduce the type of the input knowledge-base-file by its extension. Assuming the input to be turtle. Please specify --file-format (-F)
Tue Apr 16 10:33:59.189 - WARN:  In case this is not correct

It looks like everything works anyway but the warning may confuse users. The fix would be to skip this warning when the -A flag is given

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant