Skip to content

Commit

Permalink
generateReadme: Refresh
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorentLvr committed Oct 18, 2022
1 parent 3d506b2 commit 5ae1f5f
Show file tree
Hide file tree
Showing 4 changed files with 111 additions and 60 deletions.
80 changes: 65 additions & 15 deletions Python/Python_Get_Word_Definition_and_Translation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -3,55 +3,77 @@
{
"cell_type": "markdown",
"id": "5a8150cb-480c-469f-8aff-4ea7c2b26963",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"<img width=\"10%\" alt=\"Naas\" src=\"https://landen.imgix.net/jtci2pxwjczr/assets/5ice39g4.png?w=160\"/>"
]
},
{
"cell_type": "markdown",
"id": "10371288-b489-41bc-8460-9b07c689da06",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"# Python - Get word definition and translation"
"# Python - Get Word Definition and Translation\n",
"<a href=\"https://app.naas.ai/user-redirect/naas/downloader?url=https://raw.githubusercontent.com/jupyter-naas/awesome-notebooks/master/Python/Python_Get_Word_Definition_and_Translation.ipynb\" target=\"_parent\"><img src=\"https://naasai-public.s3.eu-west-3.amazonaws.com/open_in_naas.svg\"/></a><br><br><a href=\"https://github.com/jupyter-naas/awesome-notebooks/issues/new?assignees=&labels=&template=template-request.md&title=Tool+-+Action+of+the+notebook+\">💡 Template request</a> | <a href=\"https://github.com/jupyter-naas/awesome-notebooks/issues/new?assignees=&labels=bug&template=bug_report.md&title=Python+-+Get+Word+Definition+and+Translation:+Error+short+description\">🚨 Bug report</a>"
]
},
{
"cell_type": "markdown",
"id": "be58437b-49b9-4813-a1fc-1b244b4989b9",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"**Tags:** #python #dictionary #project #word #snippet"
]
},
{
"cell_type": "markdown",
"id": "a09fa493-3a7d-40c6-a486-f9c95380d2f2",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"**Author:** [Sriniketh Jayasendil](https://twitter.com/srini047/)"
]
},
{
"cell_type": "markdown",
"id": "87abccf3-290d-4e3e-96a2-eb5373f27002",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"**Description:** This notebook get world definition and translation from English using PyDictionary."
]
},
{
"cell_type": "markdown",
"id": "3691d70b-39e6-4ed9-9c37-cab39f47cfdb",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"## Input"
]
},
{
"cell_type": "markdown",
"id": "116fb801-86da-488d-896f-3841353c55b8",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"### Import libraries"
]
Expand All @@ -61,6 +83,7 @@
"execution_count": null,
"id": "83d9b261-4e73-4b10-820e-0f21db738fd0",
"metadata": {
"papermill": {},
"tags": []
},
"outputs": [],
Expand All @@ -75,7 +98,10 @@
{
"cell_type": "markdown",
"id": "eda2461b-0583-4942-8304-0afd6f6fd9af",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"### Setup Variables\n",
"- Enter the word in English\n",
Expand All @@ -87,6 +113,7 @@
"execution_count": null,
"id": "6615bf49-3f2c-4025-93a1-ec65dd64646b",
"metadata": {
"papermill": {},
"tags": []
},
"outputs": [],
Expand All @@ -98,15 +125,21 @@
{
"cell_type": "markdown",
"id": "5aeb981c-1813-4675-81cc-ea9ff89636ae",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"## Model"
]
},
{
"cell_type": "markdown",
"id": "41471a07-0fb7-4692-913b-e2c71780f178",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"### Set PyDictionary"
]
Expand All @@ -116,6 +149,7 @@
"execution_count": null,
"id": "7967f2ff-d54a-4f1e-8efb-ed3edc0eba4c",
"metadata": {
"papermill": {},
"tags": []
},
"outputs": [],
Expand All @@ -126,7 +160,10 @@
{
"cell_type": "markdown",
"id": "00ebed91-a193-4fa7-a208-7a845395563b",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"## Output"
]
Expand All @@ -141,7 +178,9 @@
"iopub.status.idle": "2022-10-13T17:46:27.196566Z",
"shell.execute_reply": "2022-10-13T17:46:27.195853Z",
"shell.execute_reply.started": "2022-10-13T17:46:27.193737Z"
}
},
"papermill": {},
"tags": []
},
"source": [
"### Meaning"
Expand All @@ -152,6 +191,7 @@
"execution_count": null,
"id": "f71f6935-c93d-4643-8145-c1b0326929a3",
"metadata": {
"papermill": {},
"tags": []
},
"outputs": [],
Expand All @@ -164,7 +204,10 @@
{
"cell_type": "markdown",
"id": "e702e23e-f75f-4dba-a9c2-d12e4c99c6ef",
"metadata": {},
"metadata": {
"papermill": {},
"tags": []
},
"source": [
"### Translate"
]
Expand All @@ -174,6 +217,7 @@
"execution_count": null,
"id": "44f7485b-664b-4cf9-8161-38596984dabb",
"metadata": {
"papermill": {},
"tags": []
},
"outputs": [],
Expand All @@ -200,6 +244,12 @@
"pygments_lexer": "ipython3",
"version": "3.9.6"
},
"papermill": {
"default_parameters": {},
"environment_variables": {},
"parameters": {},
"version": "2.4.0"
},
"vscode": {
"interpreter": {
"hash": "1a98dfdbf5f4dedf5e8d8f4bfd1359a63aa6179b015a1f011f140876f85c4cf3"
Expand All @@ -208,4 +258,4 @@
},
"nbformat": 4,
"nbformat_minor": 5
}
}
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -593,6 +593,7 @@ We are committed to sharing templates and giving shout outs to the contributors
* [Download Image from URL](https://github.com/jupyter-naas/awesome-notebooks/tree/master/Python/Python_Download_Image_from_URL.ipynb)
* [Download PDF from URL](https://github.com/jupyter-naas/awesome-notebooks/tree/master/Python/Python_Download_PDF_from_URL.ipynb)
* [Find Phone Number in string](https://github.com/jupyter-naas/awesome-notebooks/tree/master/Python/Python_Find_Phone_Number_in_string.ipynb)
* [Get Word Definition and Translation](https://github.com/jupyter-naas/awesome-notebooks/tree/master/Python/Python_Get_Word_Definition_and_Translation.ipynb)
* [Locate Addresses](https://github.com/jupyter-naas/awesome-notebooks/tree/master/Python/Python_Locate_Addresses.ipynb)
* [Locate Coordinates](https://github.com/jupyter-naas/awesome-notebooks/tree/master/Python/Python_Locate_Coordinates.ipynb)
* [Looping Over Dataframe](https://github.com/jupyter-naas/awesome-notebooks/tree/master/Python/Python_Looping_Over_Dataframe.ipynb)
Expand Down
88 changes: 44 additions & 44 deletions generate_readme.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,10 @@
"id": "sitting-directory",
"metadata": {
"execution": {
"iopub.execute_input": "2022-10-18T13:03:51.625190Z",
"iopub.status.busy": "2022-10-18T13:03:51.624836Z",
"iopub.status.idle": "2022-10-18T13:03:55.633632Z",
"shell.execute_reply": "2022-10-18T13:03:55.632399Z"
"iopub.execute_input": "2022-10-18T15:14:12.362456Z",
"iopub.status.busy": "2022-10-18T15:14:12.362003Z",
"iopub.status.idle": "2022-10-18T15:14:15.564378Z",
"shell.execute_reply": "2022-10-18T15:14:15.563246Z"
},
"tags": []
},
Expand Down Expand Up @@ -85,10 +85,10 @@
"id": "guided-edgar",
"metadata": {
"execution": {
"iopub.execute_input": "2022-10-18T13:03:55.639087Z",
"iopub.status.busy": "2022-10-18T13:03:55.638513Z",
"iopub.status.idle": "2022-10-18T13:03:55.645814Z",
"shell.execute_reply": "2022-10-18T13:03:55.644767Z"
"iopub.execute_input": "2022-10-18T15:14:15.569236Z",
"iopub.status.busy": "2022-10-18T15:14:15.568235Z",
"iopub.status.idle": "2022-10-18T15:14:15.573181Z",
"shell.execute_reply": "2022-10-18T15:14:15.572609Z"
},
"tags": []
},
Expand Down Expand Up @@ -127,10 +127,10 @@
"id": "36c9011e-5f51-4779-8062-a627503100e1",
"metadata": {
"execution": {
"iopub.execute_input": "2022-10-18T13:03:55.649809Z",
"iopub.status.busy": "2022-10-18T13:03:55.649551Z",
"iopub.status.idle": "2022-10-18T13:03:56.178730Z",
"shell.execute_reply": "2022-10-18T13:03:56.177706Z"
"iopub.execute_input": "2022-10-18T15:14:15.576600Z",
"iopub.status.busy": "2022-10-18T15:14:15.576160Z",
"iopub.status.idle": "2022-10-18T15:14:15.979183Z",
"shell.execute_reply": "2022-10-18T15:14:15.978425Z"
},
"tags": []
},
Expand Down Expand Up @@ -191,10 +191,10 @@
"id": "abb4dd05-cc19-4b8a-b65d-b5a509425ed8",
"metadata": {
"execution": {
"iopub.execute_input": "2022-10-18T13:03:56.187703Z",
"iopub.status.busy": "2022-10-18T13:03:56.185899Z",
"iopub.status.idle": "2022-10-18T13:03:56.195005Z",
"shell.execute_reply": "2022-10-18T13:03:56.194221Z"
"iopub.execute_input": "2022-10-18T15:14:15.983415Z",
"iopub.status.busy": "2022-10-18T15:14:15.982840Z",
"iopub.status.idle": "2022-10-18T15:14:15.988506Z",
"shell.execute_reply": "2022-10-18T15:14:15.987895Z"
},
"tags": []
},
Expand Down Expand Up @@ -224,10 +224,10 @@
"id": "60f09f7c-1930-4c6b-92d0-02676447e008",
"metadata": {
"execution": {
"iopub.execute_input": "2022-10-18T13:03:56.199964Z",
"iopub.status.busy": "2022-10-18T13:03:56.199466Z",
"iopub.status.idle": "2022-10-18T13:03:56.208531Z",
"shell.execute_reply": "2022-10-18T13:03:56.207064Z"
"iopub.execute_input": "2022-10-18T15:14:15.992038Z",
"iopub.status.busy": "2022-10-18T15:14:15.991452Z",
"iopub.status.idle": "2022-10-18T15:14:15.998134Z",
"shell.execute_reply": "2022-10-18T15:14:15.997526Z"
},
"tags": []
},
Expand Down Expand Up @@ -263,10 +263,10 @@
"id": "shared-savannah",
"metadata": {
"execution": {
"iopub.execute_input": "2022-10-18T13:03:56.212657Z",
"iopub.status.busy": "2022-10-18T13:03:56.212316Z",
"iopub.status.idle": "2022-10-18T13:03:56.219160Z",
"shell.execute_reply": "2022-10-18T13:03:56.218329Z"
"iopub.execute_input": "2022-10-18T15:14:16.001206Z",
"iopub.status.busy": "2022-10-18T15:14:16.000798Z",
"iopub.status.idle": "2022-10-18T15:14:16.006399Z",
"shell.execute_reply": "2022-10-18T15:14:16.005789Z"
},
"tags": []
},
Expand Down Expand Up @@ -325,10 +325,10 @@
"id": "devoted-syracuse",
"metadata": {
"execution": {
"iopub.execute_input": "2022-10-18T13:03:56.223485Z",
"iopub.status.busy": "2022-10-18T13:03:56.223082Z",
"iopub.status.idle": "2022-10-18T13:03:56.232143Z",
"shell.execute_reply": "2022-10-18T13:03:56.231316Z"
"iopub.execute_input": "2022-10-18T15:14:16.009976Z",
"iopub.status.busy": "2022-10-18T15:14:16.009538Z",
"iopub.status.idle": "2022-10-18T15:14:16.016970Z",
"shell.execute_reply": "2022-10-18T15:14:16.016354Z"
},
"tags": []
},
Expand Down Expand Up @@ -399,10 +399,10 @@
"id": "viral-cause",
"metadata": {
"execution": {
"iopub.execute_input": "2022-10-18T13:03:56.241607Z",
"iopub.status.busy": "2022-10-18T13:03:56.241302Z",
"iopub.status.idle": "2022-10-18T13:03:59.254060Z",
"shell.execute_reply": "2022-10-18T13:03:59.253053Z"
"iopub.execute_input": "2022-10-18T15:14:16.020145Z",
"iopub.status.busy": "2022-10-18T15:14:16.019753Z",
"iopub.status.idle": "2022-10-18T15:14:18.047567Z",
"shell.execute_reply": "2022-10-18T15:14:18.046929Z"
},
"tags": []
},
Expand Down Expand Up @@ -461,10 +461,10 @@
"id": "broadband-rachel",
"metadata": {
"execution": {
"iopub.execute_input": "2022-10-18T13:03:59.260315Z",
"iopub.status.busy": "2022-10-18T13:03:59.258508Z",
"iopub.status.idle": "2022-10-18T13:03:59.843085Z",
"shell.execute_reply": "2022-10-18T13:03:59.842168Z"
"iopub.execute_input": "2022-10-18T15:14:18.051343Z",
"iopub.status.busy": "2022-10-18T15:14:18.050766Z",
"iopub.status.idle": "2022-10-18T15:14:18.534919Z",
"shell.execute_reply": "2022-10-18T15:14:18.534269Z"
},
"tags": []
},
Expand All @@ -487,10 +487,10 @@
"id": "younger-consensus",
"metadata": {
"execution": {
"iopub.execute_input": "2022-10-18T13:03:59.847237Z",
"iopub.status.busy": "2022-10-18T13:03:59.846810Z",
"iopub.status.idle": "2022-10-18T13:03:59.852694Z",
"shell.execute_reply": "2022-10-18T13:03:59.851757Z"
"iopub.execute_input": "2022-10-18T15:14:18.538571Z",
"iopub.status.busy": "2022-10-18T15:14:18.538184Z",
"iopub.status.idle": "2022-10-18T15:14:18.546007Z",
"shell.execute_reply": "2022-10-18T15:14:18.545365Z"
},
"tags": []
},
Expand Down Expand Up @@ -522,10 +522,10 @@
"id": "2a95cba3-027c-4a57-8bfa-2ee1e9053bb7",
"metadata": {
"execution": {
"iopub.execute_input": "2022-10-18T13:03:59.856825Z",
"iopub.status.busy": "2022-10-18T13:03:59.856416Z",
"iopub.status.idle": "2022-10-18T13:03:59.870368Z",
"shell.execute_reply": "2022-10-18T13:03:59.869407Z"
"iopub.execute_input": "2022-10-18T15:14:18.549648Z",
"iopub.status.busy": "2022-10-18T15:14:18.549385Z",
"iopub.status.idle": "2022-10-18T15:14:18.594657Z",
"shell.execute_reply": "2022-10-18T15:14:18.593610Z"
},
"tags": []
},
Expand Down
2 changes: 1 addition & 1 deletion templates.json

Large diffs are not rendered by default.

0 comments on commit 5ae1f5f

Please sign in to comment.