Skip to content

Commit

Permalink
v0.2.20
Browse files Browse the repository at this point in the history
  • Loading branch information
yh202109 committed Jul 13, 2024
1 parent da50f49 commit 216d0eb
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 3 deletions.
22 changes: 21 additions & 1 deletion docs/example_ectd.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Find Titles using Keywords\n",
"## Find Titles Using Keywords\n",
"\n",
"Please note that keywords are not case sensitive, but titles are case sensitive. \n",
"\n",
Expand Down Expand Up @@ -184,6 +184,26 @@
"print(\"\\n\".join(ctoc.find_section_given_words(\"REMS\", outfmt='tree')))"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"To search multiple keywords:"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"vscode": {
"languageId": "plaintext"
}
},
"outputs": [],
"source": [
"print(\"\\n\".join(ctoc.find_section_given_words(words=[\"REMS\",\"dsur\"], outfmt='tree')))"
]
},
{
"cell_type": "markdown",
"metadata": {},
Expand Down
4 changes: 2 additions & 2 deletions docs/example_ectd2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## Find Titles using Keywords\n",
"## Find Titles Using Keywords\n",
"\n",
"Please note that keywords are not case sensitive, but titles are case sensitive. \n",
"\n",
Expand Down Expand Up @@ -202,7 +202,7 @@
},
"outputs": [],
"source": [
"print(\"\\n\".join(ctoc.find_section_given_words(words=[\"REMS\",\"isE\"], outfmt='tree')))"
"print(\"\\n\".join(ctoc.find_section_given_words(words=[\"REMS\",\"dsur\"], outfmt='tree')))"
]
},
{
Expand Down

0 comments on commit 216d0eb

Please sign in to comment.