Bunkum.ProfanityFilter 4.5.0

dotnet add package Bunkum.ProfanityFilter --version 4.5.0
NuGet\Install-Package Bunkum.ProfanityFilter -Version 4.5.0
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.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Bunkum.ProfanityFilter --version 4.5.0
#r "nuget: Bunkum.ProfanityFilter, 4.5.0"
#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.0

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

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.0 58 4/24/2024
4.4.5 136 2/19/2024
4.4.4 96 2/5/2024
4.4.3 202 12/4/2023
4.4.2 119 12/3/2023
4.4.1 116 11/26/2023
4.4.0 108 11/25/2023
4.3.3 236 10/28/2023
4.3.2 117 10/27/2023
4.3.1 154 10/22/2023
4.3.0 126 10/22/2023
4.2.3 122 10/21/2023
4.2.2 141 10/19/2023
4.2.1 122 10/18/2023
4.2.0 137 10/13/2023
4.1.0 113 10/12/2023
4.0.1 155 10/1/2023
4.0.0 117 10/1/2023
3.5.0 120 9/20/2023
1.0.0 398 5/27/2023