Skip to content

Commit 9a2749e

Browse files
author
oykusuoglu
committed
notebook1 added
1 parent aed0bb9 commit 9a2749e

2 files changed

Lines changed: 39 additions & 0 deletions

File tree

docs/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,5 @@ contributing.md
1212
references.md
1313
1414
notebooks/example
15+
notebooks/notebook1
1516
```

docs/notebooks/notebook1.ipynb

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
{
2+
"cells": [
3+
{
4+
"cell_type": "markdown",
5+
"id": "bc0df168",
6+
"metadata": {},
7+
"source": "# Tutorial"
8+
},
9+
{
10+
"cell_type": "code",
11+
"execution_count": null,
12+
"id": "914609db",
13+
"metadata": {},
14+
"outputs": [],
15+
"source": [
16+
"import myeditdistance as ed\n",
17+
"\n",
18+
"distance = ed.edit_distance(\"kitten\", \"sitting\")\n",
19+
"print(distance)"
20+
]
21+
},
22+
{
23+
"metadata": {},
24+
"cell_type": "markdown",
25+
"source": "If you want to calculate the edit distance between two strings",
26+
"id": "e69cf0c34834fa84"
27+
}
28+
],
29+
"metadata": {
30+
"kernelspec": {
31+
"display_name": "Python 3",
32+
"language": "python",
33+
"name": "python3"
34+
}
35+
},
36+
"nbformat": 4,
37+
"nbformat_minor": 5
38+
}

0 commit comments

Comments
 (0)