ProfanityDetector
ProfanityDetector copied to clipboard
Thread Saftey?
Thanks for your work on the project! It would be great if you could add some notes to the APIs indicating if they are thread-safe or not. For example, should I create one static instance of the filter and then allow multiple threads to use it? Or should I create a new filter object per thread?
From looking at the code the functions look thread-safe, but I can't say that for 100% certainly.
@QuinnDamerell How did you end up using it? Did you initiate a single instance?