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

Data Augmentation for Japanese Text on AugLy

License

NotificationsYou must be signed in to change notification settings

chck/AugLy-jp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

51 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Data Augmentation forJapanese Text on AugLy

PyPI VersionPython VersionPython TestTest CoverageCode QualityPython Style Guide

Augmenter

base_text = "あらゆる現実をすべて自分のほうへねじ曲げたのだ"

AugmenterAugmentedDescription
SynonymAugmenterあらゆる現実をすべて自身のほうへねじ曲げたのだSubstitute similar word according toSudachi synonym
WordEmbsAugmenterあらゆる現実をすべて関心のほうへねじ曲げたのだLeverage word2vec, GloVe or fasttext embeddings to apply augmentation
FillMaskAugmenterつまり現実を、未来な未来まで変えたいんだUsing masked language model to generate text
BackTranslationAugmenterそして、ほかの人たちをそれぞれの道に安置しておられたLeverage two translation models for augmentation

Prerequisites

SoftwareInstall Command
Python 3.8.11pyenv install 3.8.11
Poetry 1.1.*curl -sSL https://raw.githubusercontent.com/python-poetry/poetry/master/get-poetry.py | python

Get Started

Installation

pip install augly-jp

Or clone this repository:

git clone https://github.com/chck/AugLy-jp.gitpoetry install

Test with reformat

poetry run tasktest

Reformat

poetry run task fmt

Lint

poetry run task lint

Inspired

License

This software includes the work that is distributed in the Apache License 2.0[1].

About

Data Augmentation for Japanese Text on AugLy

Topics

Resources

License

Stars

Watchers

Forks

Languages


[8]ページ先頭

©2009-2025 Movatter.jp