build IME dictionary.
Created by Deno.
The goal is to create all IME user dictionaries from a single file.
- Japanese
- Google Japanese IME
- macOS Japanese Input Method
- Gboard
- Microsoft IME
Name | Split Type | Can Set Genre | Can Set Word class |
---|---|---|---|
Google IME | TSV | ✔ | ✔ |
macOS Japanese Input Method | CSV | ✗ | ✔ |
Gboard | TSV | ✗ | ✗ |
Microsoft IME | TSV | ✗ | ✔ |
- API
- CLI
- Web App
deno install --allow-read --allow-write --allow-run -n bid https://deno.land/x/bid/cli.ts
- CSV
- JSON
Example files in .xlsx
and .ods
are included for use with spreadsheet software such as Microsoft Excel.
Please check example/input
for details.
bid --dir=example/input/raw --all
bid --dir=example/input/raw --google --macos --microsoft --gboard
bid --dir=example/input/raw --all --compress
name: Build IME dictionary
on:
pull_request:
types: [closed]
jobs:
upload:
if: github.event.pull_request.merged == true
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
- name: Setup Deno
uses: denoland/setup-deno@v1
with:
deno-version: v1.x
- name: Output dictionary data
run: |
deno install --allow-read --allow-write -n bid https://deno.land/x/bid/cli.ts
bid --dir=example/input/raw --all
- name: Archive production artifacts
uses: actions/upload-artifact@v4
with:
name: dictionary
path: bid_output
retention-days: 30