Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Predict pitch accent in Japanese

License

BSD-3-Clause and 2 other licenses found

Licenses found

BSD-3-Clause
LICENCE-BSD.txt
GPL-2.0
LICENCE-GPL.txt
LGPL-2.1
LICENCE-LGPL.txt
NotificationsYou must be signed in to change notification settings

shirakaba/pitch-accent

A library to predict pitch accent in Japanese.

Usage

For users

Installation:

yarn install pitch-accent

Usage:

import{solve}from"pitch-accent";solve([{surface:'シン',pos:'noun',accent:1},{surface:'タマネギ',pos:'noun',accent:3},])// 5solve([{surface:'シン',pos:'noun',accent:1},{surface:'ヨコハマ',pos:'noun',accent:0},]);// 3

For contributors

# Install depsyarn install# Runyarn start

Legal

pitch-accent is copyrighted free software by Jamie Birch, and is released under any of the BSD, LGPL, or GPL licences (see the files LICENCE-BSD.txt, LICENCE-LGPL.txt, and LICENCE-GPL.txt, respectively).

Seesources.md for source data used.

About

Predict pitch accent in Japanese

Resources

License

BSD-3-Clause and 2 other licenses found

Licenses found

BSD-3-Clause
LICENCE-BSD.txt
GPL-2.0
LICENCE-GPL.txt
LGPL-2.1
LICENCE-LGPL.txt

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

[8]ページ先頭

©2009-2025 Movatter.jp