-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* feat: format numbers to bitesize representations (1000 –> 1k) * refactor: split monolith approximation result into separate functions * refactor: change interface, abandon functoin which does it all * refactor: remove unused spec and functions * refactor: simplify numeric relations calculation * refactor: add specs to all interface functions * test: update tests * refactor: move spec to 'domain' ns; do not use sets expression config * feat: add number conversion to a desired precision * refactor: functions accept all config parameters at the end of the list * feat: have one entry function with defaults * refactor: update java interface * doc: update documentation * feat: add deploy task
- Loading branch information
Žygimantas Medelis
authored
Nov 23, 2020
1 parent
450b993
commit 5acb5b0
Showing
15 changed files
with
344 additions
and
276 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,48 +1,48 @@ | ||
{:en {:hedges {:equal #{"exactly"} | ||
:around #{"around" "approximately" "about"} | ||
:more #{"more than" "over"} | ||
:less #{"less than" "under" "nearly"}} | ||
:favorite-numbers {1/4 #{"a quarter"} | ||
1/3 #{"a third"} | ||
1/2 #{"a half"}}} | ||
{:en {:hedges {:equal ["exactly"] | ||
:around ["around" "approximately" "about"] | ||
:more ["more than" "over"] | ||
:less ["less than" "under" "nearly"]} | ||
:favorite-numbers {1/4 ["a quarter"] | ||
1/3 ["a third"] | ||
1/2 ["a half"]}} | ||
|
||
:de {:hedges {:equal #{"genau"} | ||
:around #{"ungefähr" "etwa"} | ||
:more #{"mehr als" "über"} | ||
:less #{"weniger als" "unter"}} | ||
:favorite-numbers {1/4 #{"Viertel"} | ||
1/3 #{"Drittel"} | ||
1/2 #{"Hälfte"}}} | ||
:de {:hedges {:equal ["genau"] | ||
:around ["ungefähr" "etwa"] | ||
:more ["mehr als" "über"] | ||
:less ["weniger als" "unter"]} | ||
:favorite-numbers {1/4 ["Viertel"] | ||
1/3 ["Drittel"] | ||
1/2 ["Hälfte"]}} | ||
|
||
:pt {:hedges {:equal #{"exatamente"} | ||
:around #{"cerca de" "aproximadamente"} | ||
:more #{"mais de" "acima de"} | ||
:less #{"menos de" "abaixo de"}} | ||
:favorite-numbers {1/4 #{"um quarto"} | ||
1/3 #{"um terço"} | ||
1/2 #{"metade"}}} | ||
:pt {:hedges {:equal ["exatamente"] | ||
:around ["cerca de" "aproximadamente"] | ||
:more ["mais de" "acima de"] | ||
:less ["menos de" "abaixo de"]} | ||
:favorite-numbers {1/4 ["um quarto"] | ||
1/3 ["um terço"] | ||
1/2 ["metade"]}} | ||
|
||
:lt {:hedges {:equal #{"lygiai"} | ||
:around #{"apie" "apytiksliai"} | ||
:more #{"daugiau nei" "virš"} | ||
:less #{"mažiau nei" "mažiau"}} | ||
:favorite-numbers {1/4 #{"ketvirtis"} | ||
1/3 #{"trečdalis"} | ||
1/2 #{"pusė"}}} | ||
:lt {:hedges {:equal ["lygiai"] | ||
:around ["apie" "apytiksliai"] | ||
:more ["daugiau nei" "virš"] | ||
:less ["mažiau nei" "mažiau"]} | ||
:favorite-numbers {1/4 ["ketvirtis"] | ||
1/3 ["trečdalis"] | ||
1/2 ["pusė"]}} | ||
|
||
:fr {:hedges {:equal #{"exactement"} | ||
:around #{"environ"} | ||
:more #{"plus de"} | ||
:less #{"moins de"}} | ||
:favorite-numbers {1/4 #{"un quart"} | ||
1/3 #{"un tiers"} | ||
1/2 #{"un demi"}}} | ||
:fr {:hedges {:equal ["exactement"] | ||
:around ["environ"] | ||
:more ["plus de"] | ||
:less ["moins de"]} | ||
:favorite-numbers {1/4 ["un quart"] | ||
1/3 ["un tiers"] | ||
1/2 ["un demi"]}} | ||
|
||
:ru {:hedges {:equal #{"ровно"} | ||
:around #{"около" "примерно"} | ||
:more #{"больше чем" "более"} | ||
:less #{"меньше чем" "менее"}} | ||
:favorite-numbers {1/4 #{"четверть"} | ||
1/3 #{"треть"} | ||
1/2 #{"пол" "половина"}}} | ||
:ru {:hedges {:equal ["ровно"] | ||
:around ["около" "примерно"] | ||
:more ["больше чем" "более"] | ||
:less ["меньше чем" "менее"]} | ||
:favorite-numbers {1/4 ["четверть"] | ||
1/3 ["треть"] | ||
1/2 ["пол" "половина"]}} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.