Skip to content

Commit

Permalink
Rename mallet module
Browse files Browse the repository at this point in the history
  • Loading branch information
severinsimmler committed Mar 12, 2018
1 parent 4547d26 commit 6659d6f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 12 deletions.
4 changes: 2 additions & 2 deletions IntroducingMallet.ipynb
Expand Up @@ -78,7 +78,7 @@
"source": [
"from dariah_topics import preprocessing\n",
"from dariah_topics import meta\n",
"from dariah_topics import mallet\n",
"from dariah_topics import utils\n",
"from dariah_topics import postprocessing\n",
"from dariah_topics import visualization"
]
Expand Down Expand Up @@ -426,7 +426,7 @@
"metadata": {},
"outputs": [],
"source": [
"Mallet = mallet.Mallet(path_to_mallet)"
"Mallet = utils.Mallet(path_to_mallet)"
]
},
{
Expand Down
9 changes: 0 additions & 9 deletions dariah_topics/mallet.py → dariah_topics/utils.py
@@ -1,13 +1,4 @@
#!/usr/bin/env python3
# -*- coding: utf-8 -*-

"""
Handling MALLET in Python
*************************
Functions and classes of this module are for **handling `MALLET <http://mallet.cs.umass.edu/topics.php>`_ \
in Python**.
Contents
********
* :func:`call_commandline()`
Expand Down
2 changes: 1 addition & 1 deletion test/mallet_test.py
@@ -1,5 +1,5 @@
from pytest import raises
from dariah_topics.mallet import Mallet
from dariah_topics.utils import Mallet

def command_not_found_test():
"""When the mallet executable was not found, raise an exception."""
Expand Down

0 comments on commit 6659d6f

Please sign in to comment.