| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
Miner --+
|
TextMiner
The miner for text files.
This miner mines text files by extracting valid n-grams from them and inserting them in databases. Mining a text require:
See Also: TextTokenizer, db.insert_ngrams
|
| Class Hierarchy for TextMiner |
|
|||
| Inherited from Miner | |||
|---|---|---|---|
|
__metaclass__ Metaclass for defining Abstract Base Classes (ABCs). |
|||
|
|||
|
|||
|
|||
|
|||
| dict |
|
||
|
|||
|
Inherited from |
|||
| Inherited from Miner | |||
|---|---|---|---|
|
|||
|
|||
|
|||
| Inherited from Miner | |||
|---|---|---|---|
__abstractmethods__ =
|
|||
_abc_cache = <_weakrefset.WeakSet object at 0x7f2a42131ad0>
|
|||
_abc_negative_cache = <_weakrefset.WeakSet object at 0x7f2a421
|
|||
_abc_negative_cache_version = 44
|
|||
_abc_registry = <_weakrefset.WeakSet object at 0x7f2a42131a90>
|
|||
|
|||
|
Inherited from |
|||
|
|||
Constructor of the FacebookMiner class.
|
Mine a text file, updating the database.
|
Mine a text file. This method dosen't try to update the n-grams counts so it will fail if it tries to add an n-gram which is already in the database but this method is a little faster than update_db().
Note: If you're intending to create a new database but it already exists please consider calling rm_db() first. |
Create a n-gram dictionary from a file.
|
Add n-grams of an n-gram dictionary to the database.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Tue Jul 14 21:07:50 2015 | http://epydoc.sourceforge.net |