Skip to content

Commit

Permalink
Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
luojunyuan committed Apr 5, 2021
1 parent 5a81ec5 commit de07ff8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Ve.DotNet/Ve.DotNet.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<RepositoryType>Extention</RepositoryType>
<PackageTags>mecab, ve</PackageTags>
<Version>5.0.3</Version>
<Version>5.0.4</Version>
<PackageId>VeParse.DotNet</PackageId>
<PackageLicenseExpression>MIT</PackageLicenseExpression>
</PropertyGroup>
Expand Down
6 changes: 3 additions & 3 deletions Ve.DotNet/VeParser.cs
Original file line number Diff line number Diff line change
Expand Up @@ -325,9 +325,9 @@ public static IEnumerable<VeWord> Words(IEnumerable<MeCabNode> nodeEnumerable)
else
{
VeWord word = new(
current.GetPronounciation(),
current.GetReading(),
current.GetOriginalForm(),
current.GetPronounciation() ?? string.Empty,
current.GetReading() ?? string.Empty,
current.GetOriginalForm() ?? string.Empty,
partOfSpeech,
grammar,
current.Surface,
Expand Down
2 changes: 1 addition & 1 deletion VeDotNetConsoleSample/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ namespace VeDotNetConsoleSample
{
internal class Program
{
private const string Example1 = "太郎はこの本を笑也を見た女性に渡した。";
private const string Example1 = "「あっ、パパ!ううん、全然待ってないよ。れいあ達もさっき来たところだもん。ね、すずか?」";

private static void Main()
{
Expand Down

0 comments on commit de07ff8

Please sign in to comment.