8000 GitHub - ensan-hcl/lightbluePy: Python re-implementation of Japanese CCG parser lightblue · GitHub
[go: up one dir, main page]

Skip to content

About

Python re-implementation of Japanese CCG parser lightblue

Resources

Stars

1 star

Watchers

1 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

lightbluePy

Daisuke Bekki氏の日本語CCGパーザであるlightblueをPythonに移植するものです。現在開発中です。

元のソースコードに忠実に移植するため、機能や実装はほとんど変更はしていません。

また、現在以下は未実装です。

  • DTSの処理
  • Visualizerの処理

Environment

  • Python 3.10 or later
  • lark 1.1.5 or later (pip install lark)

Usage

Default beam for lightblue is 24.

from chartParser import simpleParse, output_node

res = simpleParse(24, "文を処理する")
for r in res:
    print(output_node(r))

LICENSE

mylexicon_hs.pyの著作権はDaisuke Bekki氏に帰属し、BSD 3-Clause "New" or "Revised" Licenseの元で利用されています。また、Juman.dic.tsvは元レポジトリより同ライセンスのもとで取得したものです。

About

Python re-implementation of Japanese CCG parser lightblue

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

0