-
Notifications
You must be signed in to change notification settings - Fork 728
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ref: add zwo as alternative for 2 #723
base: main
Are you sure you want to change the base?
Conversation
@patapizza - hi Julien, is this repository not maintained anymore? |
.github/workflows/ci.yml
Outdated
@@ -12,7 +12,7 @@ jobs: | |||
runs-on: ${{ matrix.os }} | |||
strategy: | |||
matrix: | |||
os: [ubuntu-latest, macOS-latest, windows-latest] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why delete these?
Dockerfile
Outdated
apt-get clean && \ | ||
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* | ||
|
||
COPY --from=builder /root/.local/bin/duckling-example-exe /usr/local/bin/ | ||
|
||
EXPOSE 8000 | ||
|
||
CMD ["duckling-example-exe", "-p", "8000"] | ||
CMD ["duckling-example-exe", "-p", "8000", "--no-access-log", "--no-error-log"] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these should be available by default
Duckling/Numeral/DE/NumParser.hs
Outdated
import Data.String | ||
import Prelude | ||
|
||
newtype Parser a = Parser {runParser :: String -> Maybe (a, String)} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm pretty sure this parser type + NumParser stuff already exists elsewhere in the code case, you should import it
Hi @chessai , thank you for your time and attention on this PR. |
We have noticed that often in spoken german, people are using
zwo
as an alternative tozwei
. I tried to add in the german NumParser and corresponding rules. let me know if this is okay or i should make some changes to get it working.Thanks