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
file=open('error.txt','w')
db=get_spacy_doc(file,train)
#db1=get_spacy_doc(file,test)
db.to_disk('path/train.spacy')
#file.close()
100%|████████████████████████████████████████████████████████████████████████████████| 140/140 [00:03<00:00, 40.48it/s]
TypeError Traceback (most recent call last) C:\Users\RAVIND~1.JOS\AppData\Local\Temp/ipykernel_22160/2186711314.py in 2 db=get_spacy_doc(file,train) 3 #db1=get_spacy_doc(file,test) ----> 4 db.to_disk('path/train.spacy') 5 #file.close()
TypeError: to_disk() missing 1 required positional argument: 'path'
spacy version 3.3.1
The text was updated successfully, but these errors were encountered:
Instead of db.to_disk('path\train.spacy')
db.to_disk('path\train.spacy')
use to save the train db in the current directory db.to_disk('train.spacy')
db.to_disk('train.spacy')
Sorry, something went wrong.
No branches or pull requests
file=open('error.txt','w')
db=get_spacy_doc(file,train)
#db1=get_spacy_doc(file,test)
db.to_disk('path/train.spacy')
#file.close()
100%|████████████████████████████████████████████████████████████████████████████████| 140/140 [00:03<00:00, 40.48it/s]
TypeError Traceback (most recent call last)
C:\Users\RAVIND~1.JOS\AppData\Local\Temp/ipykernel_22160/2186711314.py in
2 db=get_spacy_doc(file,train)
3 #db1=get_spacy_doc(file,test)
----> 4 db.to_disk('path/train.spacy')
5 #file.close()
TypeError: to_disk() missing 1 required positional argument: 'path'
TypeError: to_disk() missing 1 required positional argument: 'path'
spacy version 3.3.1
The text was updated successfully, but these errors were encountered: