We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I execute the .py script, I get some errror below given : @dbamman
from booknlp.booknlp import BookNLP
model_params = { "pipeline": "entity,quote,supersense,event,coref", "model": "big" }
booknlp = BookNLP("en", model_params)
input_file = "booknlpscr/pdf.txt"
output_directory = "pdf/"
book_id = "pdf"
booknlp.process(input_file, output_directory, book_id)
print(input_file) #conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I execute the .py script, I get some errror below given : @dbamman
from booknlp.booknlp import BookNLP
model_params = {
"pipeline": "entity,quote,supersense,event,coref",
"model": "big"
}
booknlp = BookNLP("en", model_params)
Input file to process
input_file = "booknlpscr/pdf.txt"
Output directory to store resulting files in
output_directory = "pdf/"
File within this directory will be named ${book_id}.entities, ${book_id}.tokens, etc.
book_id = "pdf"
booknlp.process(input_file, output_directory, book_id)
print(input_file)
#conda install pytorch torchvision torchaudio cudatoolkit=10.2 -c pytorch
The text was updated successfully, but these errors were encountered: