Coder Social home page Coder Social logo

ve.dotnet's Introduction

Ve.DotNet

Channel Status
CI CI
NuGet.org NuGet.org

This repository is a port of Ve (a warpper of mecab or kuromoji, similar to cabocha)

based on MeCab.DotNet

class Program
{
    private const string Example1 = "太郎はこの本を笑也を見た女性に渡した。";

    static void Main(string[] args)
    {
        // Using Mecab.Extention.IpaDic namespace
        var tagger = MeCabTagger.Create();

        foreach (var word in tagger.ParseToNodes(Example1).ParseVeWords())
        {
            Console.WriteLine(
                $"{word.Word.PadRight(4, ' ')} {word.Pronunciation.PadRight(5, ' ')} " +
                $"{word.PartOfSpeech} {word.Lemma}");
        }
    }
}

Result

太郎   タロー   固有名詞 太郎
は    ワ     助詞 は
この   コノ    連体詞 この
本    ホン    名詞 本
を    ヲ     助詞 を
笑也   エミヤ   固有名詞 笑也
を    ヲ     助詞 を
見た   ミタ    動詞 見る
女性   ジョセイ  名詞 女性
に    ニ     助詞 に
渡した  ワタシタ  動詞 渡す
。    。     記号 。

ve.dotnet's People

Contributors

dependabot[bot] avatar luojunyuan avatar

Stargazers

 avatar  avatar

Watchers

 avatar

ve.dotnet's Issues

Autohotkey.Interop AccessViolation Exception

I am using your this Wrapper library in a Desktop Bridge App.
Most of the functions work fine, but some are causing a non-catchable, deadly AccessViolation Exception.
These exceptions only happen if the app is "bridged"

Minimal reproducable example:

  • Package WPF App
  • Install Autohotkey.Interop Nuget Package
  • Run the following code:
var ahk = AutoHotkeyEngine.Instance;
ahk.LoadScript("Reload");

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.