mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-11-04 09:57:26 +03:00 
			
		
		
		
	Remove traces of lexemes from vocab serialization (#9400)
This commit is contained in:
		
							parent
							
								
									3b144a3a51
								
							
						
					
					
						commit
						a5231cb044
					
				| 
						 | 
				
			
			@ -530,7 +530,6 @@ cdef class Vocab:
 | 
			
		|||
 | 
			
		||||
        setters = {
 | 
			
		||||
            "strings": lambda b: self.strings.from_bytes(b),
 | 
			
		||||
            "lexemes": lambda b: self.lexemes_from_bytes(b),
 | 
			
		||||
            "vectors": lambda b: serialize_vectors(b),
 | 
			
		||||
            "lookups": lambda b: self.lookups.from_bytes(b),
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -325,6 +325,5 @@ serialization by passing in the string names via the `exclude` argument.
 | 
			
		|||
| Name      | Description                                           |
 | 
			
		||||
| --------- | ----------------------------------------------------- |
 | 
			
		||||
| `strings` | The strings in the [`StringStore`](/api/stringstore). |
 | 
			
		||||
| `lexemes` | The lexeme data.                                      |
 | 
			
		||||
| `vectors` | The word vectors, if available.                       |
 | 
			
		||||
| `lookups` | The lookup tables, if available.                      |
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user