index being closed caused errors, so its not closing anymore
This commit is contained in:
		
							parent
							
								
									5273eb3b6e
								
							
						
					
					
						commit
						9324910798
					
				| @ -56,7 +56,7 @@ public class PipelineJMWESingleton { | ||||
|             throw new RuntimeException("unable to open IMWEIndex index: " + e + "\n"); | ||||
|         } | ||||
|         detector = getDetector(index, detectorName); | ||||
|         index.close(); | ||||
|         //index.close(); | ||||
|     } | ||||
| 
 | ||||
|     public static void getINSTANCE() { | ||||
| @ -77,7 +77,7 @@ public class PipelineJMWESingleton { | ||||
|             //annoStr.set(JMWEAnnotation.class, mwes); | ||||
|             sentence.set(JMWEAnnotation.class, mwes); | ||||
|         } | ||||
|         index.close(); | ||||
|         //index.close(); | ||||
|         return annoStr; | ||||
|     } | ||||
| 
 | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user