mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-26 21:51:24 +03:00 
			
		
		
		
	
		
			
				
	
	
		
			25 lines
		
	
	
		
			595 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			25 lines
		
	
	
		
			595 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| //- 💫 DOCS > API > GOLDCORPUS
 | |
| 
 | |
| include ../../_includes/_mixins
 | |
| 
 | |
| p
 | |
|     |  An annotated corpus, using the JSON file format. Manages annotations for
 | |
|     |  tagging, dependency parsing and NER.
 | |
| 
 | |
| +h(2, "init") GoldCorpus.__init__
 | |
|     +tag method
 | |
|     +tag-new(2)
 | |
| 
 | |
| p Create a #[code GoldCorpus].
 | |
| 
 | |
| +table(["Name", "Type", "Description"])
 | |
|     +row
 | |
|         +cell #[code train_path]
 | |
|         +cell unicode or #[code Path]
 | |
|         +cell File or directory of training data.
 | |
| 
 | |
|     +row
 | |
|         +cell #[code dev_path]
 | |
|         +cell unicode or #[code Path]
 | |
|         +cell File or directory of development data.
 |