| Home | Trees | Indices | Help |
|---|
|
|
object --+
|
Miner --+
|
DictMiner
A miner to mine dictionary-like files.
This miner isn't a real miner as it only extract words from a dictionary-like file and insert them into a database. A dictionnary-like file is a file listing words, one word per line:
about army bath boat ...
|
| Class Hierarchy for DictMiner |
|
|||
|
|||
|
|||
|
|||
|
Inherited from |
|||
| Inherited from Miner | |||
|---|---|---|---|
|
|||
|
|||
| Inherited from Miner | |||
|---|---|---|---|
__metaclass__ = abc.ABCMeta
|
|||
|
|||
|
Inherited from |
|||
|
|||
Constructor of the DictMiner class.
|
Perform the mining operation.
Note: This method could have used the update_db() method like the C orpusMiner and FbMiner do but this method avoid useless operations and is, therefore, faster. To Do (0.0.2): Make sure every lines of the file contain one single word (or none). |
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0.1 on Tue Jun 16 23:30:30 2015 | http://epydoc.sourceforge.net |