| 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: tknz.TextTokenizer, db.insert_ngrams
|
| Class Hierarchy for TextMiner |
|
|||
|
|||
|
|||
|
|||
| dict |
|
||
|
|||
|
Inherited from |
|||
| Inherited from Miner | |||
|---|---|---|---|
|
|||
|
|||
|
|||
| Inherited from Miner | |||
|---|---|---|---|
__metaclass__ = abc.ABCMeta
|
|||
|
|||
|
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 Jun 16 23:30:30 2015 | http://epydoc.sourceforge.net |