| 1 |
wn.util |
| 2 |
======= |
| 3 |
|
| 4 |
.. automodule:: wn.util |
| 5 |
|
| 6 |
.. autofunction:: synset_id_formatter |
| 7 |
|
| 8 |
.. autoclass:: ProgressHandler |
| 9 |
:members: |
| 10 |
|
| 11 |
.. attribute:: kwargs |
| 12 |
|
| 13 |
A dictionary storing the updateable parameters for the progress |
| 14 |
handler. The keys are: |
| 15 |
|
| 16 |
- ``message`` (:class:`str`) -- a generic message or name |
| 17 |
- ``count`` (:class:`int`) -- the current progress counter |
| 18 |
- ``total`` (:class:`int`) -- the expected final value of the counter |
| 19 |
- ``unit`` (:class:`str`) -- the unit of measurement |
| 20 |
- ``status`` (:class:`str`) -- the current status of the process |
| 21 |
|
| 22 |
.. autoclass:: ProgressBar |
| 23 |
:members: |