Did I find the right examples for you? yes no

All Samples(9)  |  Call(7)  |  Derive(0)  |  Import(2)

src/d/i/Dialogs-0.13/src/dialogs/dialog_core.py   Dialogs(Download)
from dialogs.interpretation.content_analysis import ContentAnalyser
from dialogs.interpretation.resolution import Resolver
from dialogs.parsing.parser import Parser
from dialogs.speaker_identification import SpeakerIdentifier
from dialogs.verbalization.verbalization import Verbalizer
            self._speaker = SpeakerIdentifier().get_current_speaker_id()
 
        self._parser = Parser()
        self._resolver = Resolver()
        self._content_analyser = ContentAnalyser()

src/d/i/Dialogs-0.13/src/dialogs/verbalization/verbalization_test.py   Dialogs(Download)
from dialogs.dialog_core import Dialog
 
from dialogs.parsing.parser import Parser
from dialogs.sentence import *
from dialogs.sentence_types import *
    def test_verbalize1(self):
        logger.info("\n##################### test_verbalize1: simple statements ########################\n")
        myP = Parser()
        stmt = "The cup is on the desk."
        sentence = myP.parse(stmt)
    def test_verbalize2(self):
        logger.info("\n##################### test_verbalize2: yes/no questions ########################\n")
        myP = Parser()
 
        stmt = "Are you a robot?"
    def test_verbalize3(self):
        logger.info("\n##################### test_verbalize3: orders ########################\n")
        myP = Parser()
 
        stmt = "Put the yellow banana on the shelf."
    def test_verbalize4(self):
        logger.info("\n##################### test_verbalize4: W questions ########################\n")
        myP = Parser()
 
        stmt = "Where is the box?"