andreydelpozo2 / language-detection

Automatically exported from code.google.com/p/language-detection
0 stars 0 forks source link

How can I "reset" the Detector? Shall I just create a new one? #4

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
How can I "reset" the Detector? Shall I just create a new one? Is there a 
performance hit?

Thank you very much, Renaud

Original issue reported on code.google.com by renaud.r...@gmail.com on 19 Jan 2011 at 9:44

GoogleCodeExporter commented 9 years ago
Create a new instance if you want to reset Detector.
Hence Detector's constructor does only copying some references, I think no 
worry about its performance.
Thanks.

Original comment by nakatani.shuyo on 20 Jan 2011 at 1:53

GoogleCodeExporter commented 9 years ago
I have tried to create new instance but seems to me that the detector can only 
be used once and i have to clean and build the program. 
Could you pinpoint me to the right direction as how to create the new instance 
of tehe detector?

Thanks very much.

Original comment by jkoe...@gmail.com on 5 May 2011 at 4:44

GoogleCodeExporter commented 9 years ago
I'll answer to your same comment at issue 15.

Original comment by nakatani.shuyo on 6 May 2011 at 3:20