mirror of
				https://github.com/explosion/spaCy.git
				synced 2025-10-31 07:57:35 +03:00 
			
		
		
		
	Merge remote-tracking branch 'upstream/master' into web-doc-patches
This commit is contained in:
		
						commit
						8a7467b26e
					
				|  | @ -281,7 +281,7 @@ cdef class Begin: | |||
|         elif preset_ent_iob == 3 and st.B_(1).ent_iob != 1: | ||||
|             return False | ||||
|         # Don't allow entities to extend across sentence boundaries | ||||
|         elif st.B_(1).sent_start: | ||||
|         elif st.B_(1).sent_start == 1: | ||||
|             return False | ||||
|         else: | ||||
|             return label != 0 and not st.entity_is_open() | ||||
|  | @ -327,7 +327,7 @@ cdef class In: | |||
|         elif st.B_(1).ent_iob != preset_ent_iob: | ||||
|             return False | ||||
|         # Don't allow entities to extend across sentence boundaries | ||||
|         elif st.B_(1).sent_start: | ||||
|         elif st.B_(1).sent_start == 1: | ||||
|             return False | ||||
|         return st.entity_is_open() and label != 0 and st.E_(0).ent_type == label | ||||
| 
 | ||||
|  |  | |||
|  | @ -13,7 +13,7 @@ p | |||
|     |  Their results and subsequent discussions helped us develop a novel | ||||
|     |  psychologically-motivated technique to improve spaCy's accuracy, which | ||||
|     |  we published in joint work with Macquarie University | ||||
|     |  #[+a("https://aclweb.org/anthology/D/D15/D15-1162.pdf") (Honnibal and Johnson, 2015)]. | ||||
|     |  #[+a("https://www.aclweb.org/anthology/D/D15/D15-1162.pdf") (Honnibal and Johnson, 2015)]. | ||||
| 
 | ||||
| include _benchmarks-choi-2015 | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user