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

CoreNLP command #11

Open
baixianghuang opened this issue May 26, 2023 · 0 comments
Open

CoreNLP command #11

baixianghuang opened this issue May 26, 2023 · 0 comments

Comments

@baixianghuang
Copy link

"/usr/bin/java -mx2g -cp "$scriptdir/*" edu.stanford.nlp.pipeline.StanfordCoreNLP -annotators tokenize,ssplit,pos,lemma,ner,parse -file $FNAME -outputDirectory $PATH -outputExtension '.xml'" generates files with a wrong format. It can be fixed by using "-outputFormat xml" instead of "-outputExtension '.xml'"

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