mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2026-10-06 16:31:10 +00:00
Update
This commit is contained in:
1 parent
4ff372de77
commit
6e3579b33f
9 files changed
+19
-11
No files matched your search
@@ -64,5 +64,4 @@ class Corpus:
|
||||
return lookups
|
||||
|
||||
def query(self, query, subcorpus_name='Results'):
|
||||
self.client.api.cqp_query(self.name, subcorpus_name, query)
|
||||
return self.subcorpora.get('Results')
|
||||
return self.client.api.cqp_query(self.name, subcorpus_name, query)
|
||||
@@ -1,5 +1,5 @@
|
||||
from ..specification import (CONST_FIELD_KEYWORD, CONST_FIELD_MATCH,
|
||||
CONST_FIELD_MATCHEND, CONST_FIELD_TARGET)
|
||||
from ..api.specification import (CONST_FIELD_KEYWORD, CONST_FIELD_MATCH,
|
||||
CONST_FIELD_MATCHEND, CONST_FIELD_TARGET)
|
||||
|
||||
|
||||
class SubcorpusCollection:
|
||||
|
||||
Reference in new issue
Block a user