Code Monkey home page Code Monkey logo

Comments (7)

 avatar commented on July 3, 2024

Tagging @oskarkala. Please take a look if you get a chance!

from translations.

robotkala avatar robotkala commented on July 3, 2024

Hey, will do it ASAP. Quick question though: could you give me an example sentence with "next-sunday", as I am wondering what the context is (on the next sunday, next sunday, etc). Estonian is a very case-sensitive language.. :)

from translations.

 avatar commented on July 3, 2024

Sure. The case in English is: suppose it is currently Friday (10 Mar), and the high temperature for the next week is a week from today (e.g. next Friday, 17 Mar). We might return a summary, saying, "No precipitation for the week, with temperatures rising to 68° on Friday." To an English speaker, this is confusing, since today is Friday—so they wouldn't be sure if the "Friday" is today or a week from today.

We are trying to update the API to instead say "No precipitation for the week, with temperatures rising to 68° next Friday." This is no longer ambiguous to an English speaker.

Another example of context is in the English language tests:

{
  "Light snow on Tuesday and next Wednesday, with temperatures falling to 0\u00B0C on Sunday.":
    ["sentence", ["with",
      ["during", "light-snow", ["and", "tuesday", "next-wednesday"]],
      ["temperatures-falling",
        ["celsius", 0],
        "sunday"]]],
}

This example assumes that today is Wednesday, and that snow would occur both six days from today and seven days from today.

Does that help make it clearer?

from translations.

robotkala avatar robotkala commented on July 3, 2024

from translations.

robotkala avatar robotkala commented on July 3, 2024

Hi, would there be a case where 'next-wednesday' is in a sentence with 'until'?
E.g.
"Windy until next Wednesday.":
["sentence", ["until", "medium-wind", "next-wednesday"]]

from translations.

 avatar commented on July 3, 2024

Presently, no---next-wednesday can only appear in these cases:

["during", X, "next-wednesday"]
["during", X, ["and", Y, "next-wednesday"]]
["temperatures-rising", X, "next-wednesday"]
["temperatures-falling", X, "next-wednesday"]

from translations.

robotkala avatar robotkala commented on July 3, 2024

It is okay anyway, found a way to work around every possible scenario. Sent a pull request.

Best wishes

from translations.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.