Skip to content

alex-kn/Syntact

Repository files navigation

Syntact

Syntact is an App for learning languages that generates flashcards and organizes them into decks. These flashcards can be learnt and reviewed using a simple spaced repetition algorithm. The flashcards are generated using example sentences from https://www.linguee.com/.

Technologies

Build

The App can be built using either Android Studio or the command line.

Android Studio

  1. Download Android Studio.
  2. Import Project
  3. Run app on a connected device or running emulator ().

Command Line

  1. Clone the project to a folder of your liking.
  2. Download the command line tools and extract into a folder. For future reference, we call this folder ANDROID_SDK_ROOT.
  3. Install the Android SDK via sdkmanager by running sdkmanager "platforms;android-28".
  4. Create a file in the project root called local.properties containing sdk.dir=PATH_TO_YOUR_ANDROID_SDK_ROOT, for example:
    • Windows: sdk.dir=C:\\Android\\ANDROID_SDK_ROOT
    • Unix: sdk.dir=/home/android/ANDROID_SDK_ROOT
  5. Run gradlew build. This will output two APKs:
    • app\build\outputs\apk\debug\app-debug.apk
    • app\build\outputs\apk\release\app-release-unsigned.apk
  6. To install the debug-APK on your connected Android device or a running emulator, simply run gradlew installDebug. More information: Build and deploy an APK

Screenshots

Showcase

Tap to + in the main screen to create a new deck. Type a word in either language and tap ADD to generate suggestions for sentences containing that word. Tapping on a suggestion allows you to delete it or use its sentences' words as additional input words. Finalize your deck by naming it and deciding how many new cards you want to be shown a day.
Start learning by pressing START and typing in the solution. A minimum 90% accordance with the correct solution counts as a correct try, and as a failure otherwise. Tap OPTIONS on a deck to see its details, revealing each card's next due date and the opportunity to adjust deck settings. Toggle Dark Mode with three different options: on, off or automatic.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages