stephenhaunts / ProfanityDetector

This is a simple library for detecting profanities within a text string.
MIT License
143 stars 29 forks source link

profanity filter is a namespace but is used like a type #27

Open SenseiDecay opened 1 year ago

SenseiDecay commented 1 year ago

using nuget package I get this error when trying to use the filter.

ChrisPHardin commented 1 year ago

var filter = new ProfanityFilter.ProfanityFilter(); worked for me

mduffyBHG commented 1 year ago

I had to change all the namespaces to "ProfantityFilterLib" (and "ProfanityFilterLib.Interfaces") to get it to work for me