|
QNLP
v1.0
|
Functions | |
| def | remove_stopwords (text, sw) |
| def | tokenize_corpus (corpus, proc_mode=0) |
Variables | |
| sw | |
| string | corpus_text |
| def | words |
| int | nvn_space_size |
| def | common_n |
| tokens | |
| tags | |
| list | nouns |
| list | verbs |
| idx_i | |
| idx_j | |
| val | |
| tmp | |
| def QNLP.tagging.tag_file.remove_stopwords | ( | text, | |
| sw | |||
| ) |
Definition at line 10 of file tag_file.py.
Referenced by QNLP.tagging.tag_file.tokenize_corpus().

| def QNLP.tagging.tag_file.tokenize_corpus | ( | corpus, | |
proc_mode = 0 |
|||
| ) |
Definition at line 16 of file tag_file.py.
References QNLP.tagging.tag_file.remove_stopwords().

| def QNLP.tagging.tag_file.common_n |
Definition at line 60 of file tag_file.py.
| QNLP.tagging.tag_file.corpus_text |
Definition at line 46 of file tag_file.py.
| QNLP.tagging.tag_file.idx_i |
Definition at line 80 of file tag_file.py.
| QNLP.tagging.tag_file.idx_j |
Definition at line 81 of file tag_file.py.
| list QNLP.tagging.tag_file.nouns |
Definition at line 67 of file tag_file.py.
| int QNLP.tagging.tag_file.nvn_space_size |
Definition at line 53 of file tag_file.py.
| QNLP.tagging.tag_file.sw |
Definition at line 8 of file tag_file.py.
| QNLP.tagging.tag_file.tags |
Definition at line 65 of file tag_file.py.
| QNLP.tagging.tag_file.tmp |
Definition at line 87 of file tag_file.py.
Referenced by QNLP.adjointMatrix(), QNLP::SimulatorGeneral< IntelSimulator >.adjointMatrix(), and intel_simulator_binding().
| def QNLP.tagging.tag_file.tokens |
Definition at line 63 of file tag_file.py.
| QNLP.tagging.tag_file.val |
Definition at line 82 of file tag_file.py.
Referenced by QNLP::SimulatorGeneral< IntelSimulator >.applyMeasurementToRegister(), and TEST_CASE().
| list QNLP.tagging.tag_file.verbs |
Definition at line 68 of file tag_file.py.
| def QNLP.tagging.tag_file.words |
Definition at line 51 of file tag_file.py.