mirror of
https://gitlab.ub.uni-bielefeld.de/sfb1288inf/nopaque.git
synced 2025-06-23 06:20:34 +00:00
CQi updates
This commit is contained in:
@ -8,6 +8,18 @@ class AttributeCollection:
|
||||
|
||||
|
||||
class Attribute:
|
||||
"""
|
||||
This is a class representing an attribute. Attributes denote the general
|
||||
category of information. A specific occurence is identified by an Id.
|
||||
|
||||
Attributes:
|
||||
client (CQiClient): A connected client pointing at the server that this
|
||||
object is on.
|
||||
corpus (Corpus): The corpus, this attribute belongs to.
|
||||
name (str): The name of the Attribute.
|
||||
size (int): The number of occurences of this attribute within the corpus.
|
||||
"""
|
||||
|
||||
def __init__(self, client, corpus, name):
|
||||
self.client = client
|
||||
self.corpus = corpus
|
||||
|
Reference in New Issue
Block a user