Skip to content

Commit

Permalink
remove NLP dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
Oceania2018 committed Oct 26, 2018
1 parent 562b5dd commit fd88e40
Show file tree
Hide file tree
Showing 109 changed files with 43 additions and 11,335 deletions.
3 changes: 1 addition & 2 deletions BotSharp.Core.UnitTest/ConversationTest.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
using BotSharp.NLP;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using System;
using System.Collections.Generic;
using System.Linq;
Expand Down
2 changes: 1 addition & 1 deletion BotSharp.Core/Accounts/AccountDbInitializer.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using BotSharp.Core.Abstractions;
using BotSharp.NLP.Tokenize;
using CherubNLP.Tokenize;
using EntityFrameworkCore.BootKit;
using Newtonsoft.Json;
using System;
Expand Down
2 changes: 1 addition & 1 deletion BotSharp.Core/BotSharp.Core.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ If you feel that this project is helpful to you, please Star on the project, we
</ItemGroup>

<ItemGroup>
<ProjectReference Include="..\BotSharp.NLP\BotSharp.NLP.csproj" />
<ProjectReference Include="..\..\CherubNLP\CherubNLP\CherubNLP.csproj" />
<ProjectReference Include="..\BotSharp.Platform.Abstraction\BotSharp.Platform.Abstraction.csproj" />
<ProjectReference Include="..\BotSharp.Platform.Models\BotSharp.Platform.Models.csproj" />
</ItemGroup>
Expand Down
4 changes: 2 additions & 2 deletions BotSharp.Core/Engines/BotSharp/BotSharpIntentClassifier.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using BotSharp.Core.Abstractions;
using BotSharp.NLP;
using BotSharp.NLP.Classify;
using CherubNLP;
using CherubNLP.Classify;
using BotSharp.Platform.Models;
using BotSharp.Platform.Models.AiResponse;
using BotSharp.Platform.Models.MachineLearning;
Expand Down
2 changes: 1 addition & 1 deletion BotSharp.Core/Engines/BotSharp/BotSharpNER.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
using Bigtree.Algorithm.CRFLite;
using Bigtree.Algorithm.CRFLite.Decoder;
using Bigtree.Algorithm.CRFLite.Encoder;
using BotSharp.NLP.Tokenize;
using CherubNLP.Tokenize;
using Microsoft.Extensions.Configuration;
using System;
using System.Collections.Generic;
Expand Down
8 changes: 4 additions & 4 deletions BotSharp.Core/Engines/BotSharp/BotSharpTagger.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
using BotSharp.Core.Abstractions;
using BotSharp.NLP;
using BotSharp.NLP.Corpus;
using BotSharp.NLP.Tag;
using BotSharp.NLP.Tokenize;
using CherubNLP;
using CherubNLP.Corpus;
using CherubNLP.Tag;
using CherubNLP.Tokenize;
using BotSharp.Platform.Models;
using BotSharp.Platform.Models.MachineLearning;
using Microsoft.Extensions.Configuration;
Expand Down
4 changes: 2 additions & 2 deletions BotSharp.Core/Engines/BotSharp/BotSharpTokenizer.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using BotSharp.Core.Abstractions;
using BotSharp.NLP;
using BotSharp.NLP.Tokenize;
using CherubNLP;
using CherubNLP.Tokenize;
using BotSharp.Platform.Models;
using BotSharp.Platform.Models.AiResponse;
using BotSharp.Platform.Models.MachineLearning;
Expand Down
4 changes: 2 additions & 2 deletions BotSharp.Core/Engines/Jieba.NET/JiebaTagger.cs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
using BotSharp.Core.Abstractions;
using BotSharp.NLP;
using BotSharp.NLP.Tag;
using CherubNLP;
using CherubNLP.Tag;
using JiebaNet.Segmenter;
using JiebaNet.Segmenter.PosSeg;
using Microsoft.Extensions.Configuration;
Expand Down
4 changes: 2 additions & 2 deletions BotSharp.Core/Engines/Jieba.NET/JiebaTokenizer.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using BotSharp.Core.Abstractions;
using BotSharp.NLP.Tokenize;
using CherubNLP.Tokenize;
using JiebaNet.Segmenter;
using Microsoft.Extensions.Configuration;
using System;
Expand All @@ -8,7 +8,7 @@
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Token = BotSharp.NLP.Tokenize.Token;
using Token = CherubNLP.Tokenize.Token;

namespace BotSharp.Core.Engines.Jieba.NET
{
Expand Down
2 changes: 1 addition & 1 deletion BotSharp.Core/Engines/NlpDoc.cs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
using BotSharp.Core.Abstractions;
using BotSharp.NLP.Tokenize;
using CherubNLP.Tokenize;
using BotSharp.Platform.Models.AiResponse;
using BotSharp.Platform.Models.Entities;
using System;
Expand Down
30 changes: 0 additions & 30 deletions BotSharp.NLP.UnitTest/BotSharp.NLP.UnitTest.csproj

This file was deleted.

32 changes: 0 additions & 32 deletions BotSharp.NLP.UnitTest/DefaultTaggerTest.cs

This file was deleted.

63 changes: 0 additions & 63 deletions BotSharp.NLP.UnitTest/Featuring/CountFeatureExtractorTest.cs

This file was deleted.

118 changes: 0 additions & 118 deletions BotSharp.NLP.UnitTest/NGramTaggerTest.cs

This file was deleted.

Loading

0 comments on commit fd88e40

Please sign in to comment.