Tools¶
deepke.name_entity_re.standard.tools.dataset module¶
- class deepke.name_entity_re.standard.tools.dataset.InputExample(guid, text_a, text_b=None, label=None)[source]¶
Bases:
object
A single training/test example for simple sequence classification.
- class deepke.name_entity_re.standard.tools.dataset.InputFeatures(input_ids, input_mask, segment_ids, label_id, valid_ids=None, label_mask=None)[source]¶
Bases:
object
A single set of features of data.
deepke.name_entity_re.standard.tools.preprocess module¶
- class deepke.name_entity_re.standard.tools.preprocess.NerProcessor[source]¶
Bases:
deepke.name_entity_re.standard.tools.dataset.DataProcessor
Processor for the dataset.