https://github.com/cronokirby/ginkou

Japanese sentence bank program. Add and find sentences for language learning.

https://github.com/cronokirby/ginkou

Science Score: 26.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (8.8%) to scientific vocabulary

Keywords

japanese language nlp rust sql
Last synced: 5 months ago · JSON representation

Repository

Japanese sentence bank program. Add and find sentences for language learning.

Basic Info
  • Host: GitHub
  • Owner: cronokirby
  • License: mit
  • Language: Rust
  • Default Branch: master
  • Size: 21.5 KB
Statistics
  • Stars: 5
  • Watchers: 0
  • Forks: 2
  • Open Issues: 0
  • Releases: 0
Topics
japanese language nlp rust sql
Created over 6 years ago · Last pushed over 6 years ago
Metadata Files
Readme License

README.md

ginkou

A Japanese sentence bank. This program can consume sentences from a source, recognize the words in that sentence, and then setup an index so that sentences containing a given word can be found. The main use case for this program is to build up a searchable bank of sentences for learning. When learning it can be very useful to find example sentences for a given word, which this program enables. This program also does some basic morphological analysis on a sentence, to be able to store the root word for a verb conjugation. For example, searching for a verb will also yield sentences containing a conjugated form of that verb.

Dependencies

This program depends on mecab for the aforementioned morphological splitting. For instructions on installing it, see the mecab crate.

Usage

``` USAGE: ginkou

FLAGS: -h, --help Prints help information -V, --version Prints version information

SUBCOMMANDS: add Add new sentences to the database. get Search for all sentences containing a given word. help Prints this message or the help of the given subcommand(s) ```

Adding new sentences

``` USAGE: ginkou add [OPTIONS]

FLAGS: -h, --help Prints help information -V, --version Prints version information

OPTIONS: -d, --database The database to use. -f, --file The file to read sentences from ```

This will read words from the command line if no file is passed:

$ ginkou add なぜって? 私がきた。 EOF

The program can also be used to parse a file containing japanese sentences:

ginkou add -f file

Looking up words

``` USAGE: ginkou get [FLAGS] [OPTIONS]

FLAGS: -a, --allwords Show all results instead of shortest 200 -h, --help Prints help information -V, --version Prints version information

OPTIONS: -d, --database The database to use.

ARGS: The word to search for in the database. ```

For example, looking up 私 will yield something along the lines of:

$ ginkou get 私 私が来た。

The output of this will just be matching sentences in an undefined order, seperated by newlines. This can be piped into programs as you wish, for example to sort the output by line length.

Owner

  • Name: Lúcás Meier
  • Login: cronokirby
  • Kind: user
  • Location: Seattle

"apprentice cryptographer"

GitHub Events

Total
Last Year

Committers

Last synced: 10 months ago

All Time
  • Total Commits: 21
  • Total Committers: 1
  • Avg Commits per committer: 21.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Lúcás Meier c****y@g****m 21

Issues and Pull Requests

Last synced: 10 months ago

All Time
  • Total issues: 0
  • Total pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Total issue authors: 0
  • Total pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
Pull Request Authors
Top Labels
Issue Labels
Pull Request Labels