https://github.com/defuncart/russian_declinator
A russian declension app.
https://github.com/defuncart/russian_declinator
Last synced: about 2 months ago
JSON representation
A russian declension app.
- Host: GitHub
- URL: https://github.com/defuncart/russian_declinator
- Owner: defuncart
- Created: 2021-07-24T07:29:49.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2021-08-05T12:16:33.000Z (almost 4 years ago)
- Last Synced: 2025-02-16T04:28:59.721Z (4 months ago)
- Language: Dart
- Homepage:
- Size: 218 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# russian_declinator
A russian declension app.
## Notes
- Adjectives in the female singular instrumental case ignore the alternative endings '-ою', '-ею'.
## Getting Started
If you would like to build the app yourself, then you simply need:
- Flutter stable >= 2.2
- Dart >= 2.13
- macOS:
- Xcode >= 12.4
- CocoaPods >= 1.10.0
- web:
- ChromeTo run on web, download the latest version of `sql-wasm.js` and `sql-wasm.wasm` from [here](https://github.com/sql-js/sql.js/releases) and place them in the web folder.
Note that the database must first be generated before running locally. See Tools for more info.
## Code Generation
### Localizations
To add new localizations, update `assets_dev/loca/loca.csv` and run
```sh
flutter pub run arb_generator ; sh bin/pseudoloca_generate.sh
```### Moor Database
This should not be needed unless `database.g.dart` is accidentally deleted.
```sh
flutter pub run build_runner build --delete-conflicting-outputs
```## Tools
Firstly ensure that the CSV databases are downloaded to assets_dev:
```sh
dart bin/db/download_dev_assets.dart
```To create the SQLite database, run the following script:
```sh
dart bin/db/create_db.dart
```## Credits
Special thanks to [Open Russian](https://en.openrussian.org/) [dictionary](https://github.com/Badestrand/russian-dictionary) which is used to generate the database.
## Raising Issues and Contributing
Please report bugs and issues, and raise feature requests [here](https://github.com/defuncart/russian_declinator/issues).
To contribute, submit a PR with a detailed description and tests, if applicable.