projects
/
iramuteq
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
065a856
)
...
author
Pierre Ratinaud
<ratinaud@univ-tlse2.fr>
Mon, 15 Sep 2014 20:26:28 +0000
(22:26 +0200)
committer
Pierre Ratinaud
<ratinaud@univ-tlse2.fr>
Mon, 15 Sep 2014 20:26:28 +0000
(22:26 +0200)
corpus.py
patch
|
blob
|
history
diff --git
a/corpus.py
b/corpus.py
index
0d661d6
..
69539d3
100644
(file)
--- a/
corpus.py
+++ b/
corpus.py
@@
-1309,6
+1309,7
@@
class BuildCorpus :
class BuildSubCorpus(BuildCorpus):
def __init__(self, corpus, parametres, dlg = None) :
+ print parametres
log.info('begin subcorpus...')
self.dlg = dlg
self.ori = corpus
@@
-1362,7
+1363,7
@@
class BuildSubCorpus(BuildCorpus):
newuces = []
newpara = []
for et in uci.paras :
- keepuces = [CopyUce(uce) for uce in uci.uces if uce.
para == idpara
]
+ keepuces = [CopyUce(uce) for uce in uci.uces if uce.
ident in dictucekeep
]
idpara += 1
if keepuces != [] :
newuces += keepuces