claf.machine package¶
Subpackages¶
Submodules¶
-
class
claf.machine.base.
Machine
(config)[source]¶ Bases:
object
Machine: Combine modules then make a NLP Machine
- Args:
config: machine_config
-
class
claf.machine.module.
Module
[source]¶ Bases:
object
Machine Flag class
-
COMPONENT
= 'component'¶
-
EXPERIMENT
= 'experiment'¶
-
KNOWLEDGE_BASE
= 'knowledge_base'¶
-
-
class
claf.machine.nlu.
NLU
(config)[source]¶ Bases:
claf.machine.base.Machine
Natural Language Understanding Machine
- Args:
config: machine_config
-
class
claf.machine.open_qa.
OpenQA
(config)[source]¶ Bases:
claf.machine.base.Machine
Open-Domain Question Answer Machine (DrQA)
DrQA is a system for reading comprehension applied to open-domain question answering.
- Args:
config: machine_config
Module contents¶
-
class
claf.machine.
OpenQA
(config)[source]¶ Bases:
claf.machine.base.Machine
Open-Domain Question Answer Machine (DrQA)
DrQA is a system for reading comprehension applied to open-domain question answering.
- Args:
config: machine_config