From 576b93dddf0ad7ebcef75c15c21d962203bde7aa Mon Sep 17 00:00:00 2001 From: "Md. Tahmid Hossain" <55309419+tahmid02016@users.noreply.github.com> Date: Sat, 1 Oct 2022 19:42:00 +0600 Subject: [PATCH 1/5] Create python-nltk.json --- data/python-nltk.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 data/python-nltk.json diff --git a/data/python-nltk.json b/data/python-nltk.json new file mode 100644 index 000000000..9ee7fb1c7 --- /dev/null +++ b/data/python-nltk.json @@ -0,0 +1,32 @@ +{ + "id": "python-nltk", + "title": "পাইথনের NLTK মডিউল", + "slug": "nltk", + "description": "NLTK হলো একটি পাইথন মডিউল যা দ্বারা পাইথন প্রোগ্রামিং ভাষায় ন্যাচালার ল্যাঙ্গুয়েজ প্রসেসিংয়ের কাজ করা হয়।"", + "colorPref": "#E6515E", + "contents": [{ + "title": "সেট-আপ", + "items": [{ + "definition": "মডিউল ইনস্টল করা", + "code": "pip install nltk" + }, + { + "definition": "মডিউল ইমপোর্ট করা", + "code": "import nltk" + } + ] + }, + { + "title": "টোকেনাইজেশন", + "items": [{ + "definition": "শব্দ টোকেনাইজেশন", + "code": "" + }, + { + "definition": "বাক্য টোকেনাইজেশন", + "code": "" + } + ] + } + ] +} From a6f3d1c576bd88f86d03a447411f7efd115fac03 Mon Sep 17 00:00:00 2001 From: "Md. Tahmid Hossain" <55309419+tahmid02016@users.noreply.github.com> Date: Sat, 1 Oct 2022 19:48:31 +0600 Subject: [PATCH 2/5] Update python-nltk.json --- data/python-nltk.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/data/python-nltk.json b/data/python-nltk.json index 9ee7fb1c7..a210eef51 100644 --- a/data/python-nltk.json +++ b/data/python-nltk.json @@ -20,11 +20,11 @@ "title": "টোকেনাইজেশন", "items": [{ "definition": "শব্দ টোকেনাইজেশন", - "code": "" + "code": "nltk.word_tokenize(text)" }, { "definition": "বাক্য টোকেনাইজেশন", - "code": "" + "code": "nltk.sent_tokenize(text)" } ] } From 095d4c5262021f26e58f141a83a88d34457d9991 Mon Sep 17 00:00:00 2001 From: "Md. Tahmid Hossain" <55309419+tahmid02016@users.noreply.github.com> Date: Sat, 1 Oct 2022 19:49:04 +0600 Subject: [PATCH 3/5] Update python-nltk.json --- data/python-nltk.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/data/python-nltk.json b/data/python-nltk.json index a210eef51..ff0f56350 100644 --- a/data/python-nltk.json +++ b/data/python-nltk.json @@ -2,7 +2,7 @@ "id": "python-nltk", "title": "পাইথনের NLTK মডিউল", "slug": "nltk", - "description": "NLTK হলো একটি পাইথন মডিউল যা দ্বারা পাইথন প্রোগ্রামিং ভাষায় ন্যাচালার ল্যাঙ্গুয়েজ প্রসেসিংয়ের কাজ করা হয়।"", + "description": "NLTK হলো একটি পাইথন মডিউল যা দ্বারা পাইথন প্রোগ্রামিং ভাষায় ন্যাচালার ল্যাঙ্গুয়েজ প্রসেসিংয়ের কাজ করা হয়।", "colorPref": "#E6515E", "contents": [{ "title": "সেট-আপ", From 17eefa6cbf08b0d1e8754cd96340ff3b2d1c53fe Mon Sep 17 00:00:00 2001 From: "Md. Tahmid Hossain" <55309419+tahmid02016@users.noreply.github.com> Date: Sun, 2 Oct 2022 11:42:23 +0600 Subject: [PATCH 4/5] Update python-nltk.json --- data/python-nltk.json | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/data/python-nltk.json b/data/python-nltk.json index ff0f56350..5de807b41 100644 --- a/data/python-nltk.json +++ b/data/python-nltk.json @@ -27,6 +27,18 @@ "code": "nltk.sent_tokenize(text)" } ] - } + }, + { + "title": "লেমাটাইজেশন ও স্টেমিং", + "items": [{ + "definition": "স্টেমার ইনিশিয়ালাইজ করা", + "code": "porter­=nl­tk.P­or­ter­Stemmer" + }, + { + "definition": "WordNet লেমাটাইজার ইনিশিয়ালাইজ করা", + "code": "WNL=nl­tk.W­or­dNe­tLe­mma­tizer()" + } + ] + }, ] } From 1ef1a7a1c2460d14cb735acebef04f3c5c84e491 Mon Sep 17 00:00:00 2001 From: "Md. Tahmid Hossain" <55309419+tahmid02016@users.noreply.github.com> Date: Sun, 2 Oct 2022 11:48:05 +0600 Subject: [PATCH 5/5] Update python-nltk.json --- data/python-nltk.json | 20 ++++++++++++++++---- 1 file changed, 16 insertions(+), 4 deletions(-) diff --git a/data/python-nltk.json b/data/python-nltk.json index 5de807b41..1c3fa2a41 100644 --- a/data/python-nltk.json +++ b/data/python-nltk.json @@ -33,12 +33,24 @@ "items": [{ "definition": "স্টেমার ইনিশিয়ালাইজ করা", "code": "porter­=nl­tk.P­or­ter­Stemmer" - }, - { + }, + { "definition": "WordNet লেমাটাইজার ইনিশিয়ালাইজ করা", "code": "WNL=nl­tk.W­or­dNe­tLe­mma­tizer()" - } - ] + } + ] }, + { + "title": "POS ট্যাগিং", + "items": [{ + "definition": "POS-এর ডেফিনিশন দেখা", + "code": "nltk.h­elp.up­enn­_ta­gse­t('MD')" + }, + { + "definition": "বিল্ট-ইন POS ট্যাগার ব্যবহার করা", + "code": "nltk.h­elp.up­enn­_ta­gse­t('MD')" + } + ] + } ] }