Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
matbahasa authored May 5, 2021
1 parent 9d7e937 commit 54679b9
Showing 1 changed file with 6 additions and 33 deletions.
39 changes: 6 additions & 33 deletions contoh_penggunaan.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -214,7 +214,7 @@
" try:\n",
" return kamus[w][:n]\n",
" except:\n",
" return ma.morph(w, rootlist, Indo, n)"
" return list(ma.morph(w, rootlist, Indo, n))"
]
},
{
Expand Down Expand Up @@ -304,11 +304,11 @@
{
"data": {
"text/plain": [
"{('epob', 'mengepobkan', 'meN-', '-kan', '0', '0'),\n",
"[('kepob', 'mengepobkan', 'meN-', '-kan', '0', '0'),\n",
" ('epobk', 'mengepobkan', 'meN-', '-an', '0', '0'),\n",
" ('kepob', 'mengepobkan', 'meN-', '-kan', '0', '0'),\n",
" ('epob', 'mengepobkan', 'meN-', '-kan', '0', '0'),\n",
" ('kepobk', 'mengepobkan', 'meN-', '-an', '0', '0'),\n",
" ('ngepob', 'mengepobkan', 'meN-', '-kan', '0', '0')}"
" ('pobkan', 'mengepobkan', 'ke-+meN-', '0', '0', '0')]"
]
},
"execution_count": 12,
Expand All @@ -328,9 +328,9 @@
{
"data": {
"text/plain": [
"{('epob', 'mengepobkan', 'meN-', '-kan', '0', '0'),\n",
"[('kepob', 'mengepobkan', 'meN-', '-kan', '0', '0'),\n",
" ('epobk', 'mengepobkan', 'meN-', '-an', '0', '0'),\n",
" ('kepob', 'mengepobkan', 'meN-', '-kan', '0', '0')}"
" ('epob', 'mengepobkan', 'meN-', '-kan', '0', '0')]"
]
},
"execution_count": 13,
Expand All @@ -341,33 +341,6 @@
"source": [
"analisis(\"mengepobkan\", n=3)"
]
},
{
"cell_type": "code",
"execution_count": 28,
"metadata": {},
"outputs": [
{
"data": {
"text/plain": [
"{('kawan2', 'kawan2nya', '0', '-nya', '0', '0')}"
]
},
"execution_count": 28,
"metadata": {},
"output_type": "execute_result"
}
],
"source": [
"analisis(\"kawan2nya\")"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
Expand Down

0 comments on commit 54679b9

Please sign in to comment.