Skip to content
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

Words have no origin #208

Open
rafaeldevvv opened this issue May 14, 2024 · 0 comments
Open

Words have no origin #208

rafaeldevvv opened this issue May 14, 2024 · 0 comments

Comments

@rafaeldevvv
Copy link

I've requested many words from this API and none of them had an origin.

In the homepage of this api's website, they display the json response for the word hello:

  [
    {
      "word": "hello",
      "phonetic": "həˈləʊ",
      "phonetics": [
        {
          "text": "həˈləʊ",
          "audio": "//ssl.gstatic.com/dictionary/static/sounds/20200429/hello--_gb_1.mp3"
        },
        {
          "text": "hɛˈləʊ"
        }
      ],
      "origin": "early 19th century: variant of earlier hollo ; related to holla.",
      "meanings": [
        {
          "partOfSpeech": "exclamation",
          "definitions": [
            {
              "definition": "used as a greeting or to begin a phone conversation.",
              "example": "hello there, Katie!",
              "synonyms": [],
              "antonyms": []
            }
          ]
        },
        {
          "partOfSpeech": "noun",
          "definitions": [
            {
              "definition": "an utterance of ‘hello’; a greeting.",
              "example": "she was getting polite nods and hellos from people",
              "synonyms": [],
              "antonyms": []
            }
          ]
        },
        {
          "partOfSpeech": "verb",
          "definitions": [
            {
              "definition": "say or shout ‘hello’.",
              "example": "I pressed the phone button and helloed",
              "synonyms": [],
              "antonyms": []
            }
          ]
        }
      ]
    }
  ]

But reality is:

[
  {
    "word": "hello",
    "phonetics": [
      {
        "audio": ["https://api.dictionaryapi.dev/media/pronunciations/en/hello-au.mp3"](https://api.dictionaryapi.dev/media/pronunciations/en/hello-au.mp3),
        "sourceUrl": ["https://commons.wikimedia.org/w/index.php?curid=75797336"](https://commons.wikimedia.org/w/index.php?curid=75797336),
        "license": {
          "name": "BY-SA 4.0",
          "url": ["https://creativecommons.org/licenses/by-sa/4.0"](https://creativecommons.org/licenses/by-sa/4.0)
        }
      },
      {
        "text": "/həˈləʊ/",
        "audio": ["https://api.dictionaryapi.dev/media/pronunciations/en/hello-uk.mp3"](https://api.dictionaryapi.dev/media/pronunciations/en/hello-uk.mp3),
        "sourceUrl": ["https://commons.wikimedia.org/w/index.php?curid=9021983"](https://commons.wikimedia.org/w/index.php?curid=9021983),
        "license": {
          "name": "BY 3.0 US",
          "url": ["https://creativecommons.org/licenses/by/3.0/us"](https://creativecommons.org/licenses/by/3.0/us)
        }
      },
      {
        "text": "/həˈloʊ/",
        "audio": ""
      }
    ],
    "meanings": [
      {
        "partOfSpeech": "noun",
        "definitions": [
          {
            "definition": "\"Hello!\" or an equivalent greeting.",
            "synonyms": [            ],
            "antonyms": [            ]
          }
        ],
        "synonyms": [
          "greeting"
        ],
        "antonyms": [        ]
      },
      {
        "partOfSpeech": "verb",
        "definitions": [
          {
            "definition": "To greet with \"hello\".",
            "synonyms": [            ],
            "antonyms": [            ]
          }
        ],
        "synonyms": [        ],
        "antonyms": [        ]
      },
      {
        "partOfSpeech": "interjection",
        "definitions": [
          {
            "definition": "A greeting (salutation) said when meeting someone or acknowledging someone’s arrival or presence.",
            "synonyms": [            ],
            "antonyms": [            ],
            "example": "Hello, everyone."
          },
          {
            "definition": "A greeting used when answering the telephone.",
            "synonyms": [            ],
            "antonyms": [            ],
            "example": "Hello? How may I help you?"
          },
          {
            "definition": "A call for response if it is not clear if anyone is present or listening, or if a telephone conversation may have been disconnected.",
            "synonyms": [            ],
            "antonyms": [            ],
            "example": "Hello? Is anyone there?"
          },
          {
            "definition": "Used sarcastically to imply that the person addressed or referred to has done something the speaker or writer considers to be foolish.",
            "synonyms": [            ],
            "antonyms": [            ],
            "example": "You just tried to start your car with your cell phone. Hello?"
          },
          {
            "definition": "An expression of puzzlement or discovery.",
            "synonyms": [            ],
            "antonyms": [            ],
            "example": "Hello! What’s going on here?"
          }
        ],
        "synonyms": [        ],
        "antonyms": [
          "bye",
          "goodbye"
        ]
      }
    ],
    "license": {
      "name": "CC BY-SA 3.0",
      "url": ["https://creativecommons.org/licenses/by-sa/3.0"](https://creativecommons.org/licenses/by-sa/3.0)
    },
    "sourceUrls": [
     [ "https://en.wiktionary.org/wiki/hello"](https://en.wiktionary.org/wiki/hello)
    ]
  }
]

There's no origin.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant