Bunkum.ProfanityFilter 4.5.1

dotnet add package Bunkum.ProfanityFilter --version 4.5.1
NuGet\Install-Package Bunkum.ProfanityFilter -Version 4.5.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Bunkum.ProfanityFilter" Version="4.5.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Bunkum.ProfanityFilter --version 4.5.1
#r "nuget: Bunkum.ProfanityFilter, 4.5.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Bunkum.ProfanityFilter as a Cake Addin
#addin nuget:?package=Bunkum.ProfanityFilter&version=4.5.1

// Install Bunkum.ProfanityFilter as a Cake Tool
#tool nuget:?package=Bunkum.ProfanityFilter&version=4.5.1

Deprecated

Bunkum.ProfanityFilter is deprecated as it no longer fits the scope of Bunkum, and will be removed in a later release.

Bunkum.ProfanityFilter

A wrapper around Profanity.Detector for Bunkum

Example usage

// Program.cs
BunkumHttpServer server = new();
server.AddProfanityService();
// FilterEndpoints.cs
[HttpEndpoint("/censorSentence")]
[NullStatusCode(HttpStatusCode.BadRequest)]
public string? CensorSentence(RequestContext context, ProfanityService service)
{
    string? input = context.QueryString.Get("input");
    if (input == null) return null;
    
    return service.CensorSentence(input);
}
Product Compatible and additional computed target framework versions.
.NET net8.0 is compatible.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
4.5.1 72 4/30/2024
4.5.0 94 4/24/2024
4.4.5 157 2/19/2024
4.4.4 96 2/5/2024
4.4.3 204 12/4/2023
4.4.2 121 12/3/2023
4.4.1 118 11/26/2023
4.4.0 110 11/25/2023
4.3.3 238 10/28/2023
4.3.2 119 10/27/2023
4.3.1 156 10/22/2023
4.3.0 128 10/22/2023
4.2.3 124 10/21/2023
4.2.2 145 10/19/2023
4.2.1 124 10/18/2023
4.2.0 139 10/13/2023
4.1.0 115 10/12/2023
4.0.1 157 10/1/2023
4.0.0 119 10/1/2023
3.5.0 122 9/20/2023
1.0.0 400 5/27/2023