File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed
src/DotnetBadWordDetector Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
<Project Sdk =" Microsoft.NET.Sdk" >
2
2
3
3
<PropertyGroup >
4
- <PackageId >AppLogger </PackageId >
5
- <Version >1.0.0 </Version >
4
+ <PackageId >DotnetBadWordDetector </PackageId >
5
+ <Version >1.0.1 </Version >
6
6
<Authors >Felipe Luz</Authors >
7
+ <PackageDescription >Dotnet Bad Word Detector</PackageDescription >
8
+ <RepositoryUrl >https://github.com/FelipeLuz/dotnet-bad-word-detector</RepositoryUrl >
7
9
<TargetFramework >netcoreapp3.1</TargetFramework >
8
10
<LangVersion >10.0</LangVersion >
9
11
<AssemblyName >DotnetBadWordDetector</AssemblyName >
Original file line number Diff line number Diff line change @@ -22,7 +22,7 @@ private void LoadTrainedModel()
22
22
_predictionEngine = mlContext . Model . CreatePredictionEngine < BadWord , BadWordPrediction > ( trainedModel ) ;
23
23
}
24
24
25
- private Stream ? GetModelStream ( )
25
+ private Stream GetModelStream ( )
26
26
{
27
27
var assembly = typeof ( DotnetBadWordDetector . ProfanityDetector ) . Assembly ;
28
28
return assembly . GetManifestResourceStream ( MODELPATH ) ;
You can’t perform that action at this time.
0 commit comments