Kosh

Get words from Shabad Kosh starting with the given first letter, words can be searched for meaning using Kosh Word function.

banidb.kosh(letter)

Returns words(starting with given letter).

Parameters:

  • letter (str): the first letter of the words you wanna know.

Returns: Words (starting with letter) from kosh as list of dictionaries.

Return type: list

Example:

kosh_data = banidb.kosh('d')
print(kosh_data)

Output

[
    {
        "word_uni": "ਦ",
        "word": "d"
    },
    {
        "word_uni": "ਦਉਣੁ",
        "word": "dauxu"
    },
    {
        "word_uni": "ਦਉਤ",
        "word": "dauq"
    },
    {
        "word_uni": "ਦਉਰ",
        "word": "daur"
    }
]

Kosh Word

Get definition of given word from Shabad Kosh.

banidb.kosh_word(word)

Returns definition of given word.

Parameters:

  • word (str): the word whose definition you wanna know.

Returns: Definition of Word from Shabad Kosh as list of dictionaries.

Return type: list

Example:

kosh_data = banidb.kosh_word('d')
print(kosh_data)

Output

[
   {
      "word_uni":"ਦ",
      "word":"d",
      "def_uni":"ਪੰਜਾਬੀ ਵਰਣਮਾਲਾ ਦਾ ਤੇਈਸਵਾਂ ਅੱਖਰ, ਇਸ ਦਾ ਉੱਚਾਰਣ ਅਸਥਾਨ ਦੰਦ ਹਨ. ਜੀਭ ਦੀ ਨੋਕ ਉੱਪਰਲੇ ਦੰਦਾਂ ਦੇ ਮੂਲ ਵਿੱਚ ਲੱਗਣ ਤੋਂ ਇਸ ਦਾ ਸ਼ਬਦ ਸਪਸ੍ਟ\uf032 ਹੁੰਦਾ ਹੈ। ੨. ਸੰ. ਸੰਗ੍ਯਾ- ਪਹਾੜ। ੩. ਦੰਦ. ਦਾਂਤ। ੪. ਰਖ੍ਯਾ. ਹਿਫ਼ਾਜ\uf033ਤ। ੫. ਭਾਰਯਾ. ਵਹੁਟੀ। ੬. ਵਿ- ਦਾਤਾ. ਦੇਣ ਵਾਲਾ. ਇਸ ਅਰਥ ਵਿੱਚ ਇਹ ਕਿਸੇ ਸ਼ਬਦ ਦੇ ਅੰਤ ਲੱਗਕੇ ਅਰਥ ਬੋਧ ਕਰਾਉਂਦਾ ਹੈ, ਜਿਵੇਂ- ਸੁਖਦ, ਜਲਦ ਆਦਿ.",
      "def":"pMjwbI vrxmwlw dw qyeIsvW A`Kr, ies dw au`cwrx AsQwn dMd hn. jIB dI nok au`prly dMdW dy mUl iv`c l`gx qoN ies dw Sbd sps†\uf032 huMdw hY[ 2. sM. sMgÎw- phwV[ 3. dMd. dWq[ 4. rKÎw. ih&wj\uf033q[ 5. BwrXw. vhutI[ 6. iv- dwqw. dyx vwlw. ies ArQ iv`c ieh iksy Sbd dy AMq l`gky ArQ boD krwauNdw hY, ijvyN- suKd, jld Awid."
   }
]