Skip to content

Commit

Permalink
refactor: name changes
Browse files Browse the repository at this point in the history
  • Loading branch information
MariellaCC committed Apr 9, 2024
1 parent e8d4093 commit 5dc9dcf
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions docs/jupyter/kiara_topic_modelling.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -659,7 +659,7 @@
}
],
"source": [
"! kiara operation explain topic_modelling.tokenize_corpus"
"! kiara operation explain topic_modelling.tokenize_array"
]
},
{
Expand Down Expand Up @@ -735,7 +735,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"We can now use the array as input for the tokenize_corpus operation."
"We can now use the array as input for the tokenize_array operation."
]
},
{
Expand All @@ -744,7 +744,7 @@
"metadata": {},
"outputs": [],
"source": [
"tokenize_corpus_inputs = {\n",
"tokenize_array_inputs = {\n",
" \"corpus_array\": pick_column_results['array'],\n",
" \"column_name\": \"content\" \n",
"}"
Expand All @@ -766,7 +766,7 @@
}
],
"source": [
"tokenize_corpus_results = kiara.run_job('topic_modelling.tokenize_corpus', inputs=tokenize_corpus_inputs)"
"tokenize_array_results = kiara.run_job('topic_modelling.tokenize_array', inputs=tokenize_array_inputs)"
]
},
{
Expand Down Expand Up @@ -836,7 +836,7 @@
}
],
"source": [
"tokenize_corpus_results"
"tokenize_array_results"
]
},
{
Expand Down
2 changes: 1 addition & 1 deletion examples/pipelines/init.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ steps:
step_id: create_array
input_links:
table: create_table.table
- module_type: topic_modelling.tokenize_corpus
- module_type: topic_modelling.tokenize_array
step_id: tokenize_corpus
input_links:
corpus_array: create_array.array
2 changes: 1 addition & 1 deletion src/kiara_plugin/topic_modelling/modules/pre_process.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ class TokenizeArray(KiaraModule):
- NLTK: https://www.nltk.org/
"""

_module_type_name = "topic_modelling.tokenize_corpus"
_module_type_name = "topic_modelling.tokenize_array"

def create_inputs_schema(self):
return {
Expand Down

0 comments on commit 5dc9dcf

Please sign in to comment.