Did I find the right examples for you? yes no

All Samples(61)  |  Call(58)  |  Derive(0)  |  Import(3)
A sentence is formed from:
data_type: the type of a sentence whether it is a question, an imperative, ...
sn : a nominal structure typed into a Nominal_group
sv : a verbal structure typed into a Verbal_Group
aim : is used for retrieveing the aim of a question

src/d/i/Dialogs-0.13/src/dialogs/interpretation/content_analysis.py   Dialogs(Download)
from dialogs.interpretation.questions_handler import QuestionHandler
from dialogs.sentence_factory import SentenceFactory
from dialogs.sentence import Sentence
from dialogs.sentence_types import *
from dialogs.resources_manager import ResourcePool

src/d/i/Dialogs-0.13/src/dialogs/interpretation/statements_builder_test.py   Dialogs(Download)
from dialogs.interpretation.statements_builder import *
from dialogs.interpretation.statements_safe_adder import StatementSafeAdder
from dialogs.sentence import Sentence
from dialogs.interpretation.resolution import Resolver
 
    def test_01(self):
        logger.info("\n**** Test 1  *** ")
        logger.info("Danny drives the blue car")
        sentence = Sentence(STATEMENT, "",
                            [Nominal_Group([],
        self.stmt._statements_to_remove = []
        logger.info("Danny gets the blue car")
        sentence = Sentence(STATEMENT, "",
                            [Nominal_Group([],
                                ['Danny'],
        self.stmt._statements_to_remove = []
        logger.info("Danny put the blue cube next to the blue car")
        sentence = Sentence(STATEMENT, "",
                            [Nominal_Group([],
                                ['Danny'],
    def test_01_goal_verb(self):
        logger.info("\n**** Test 1  *** ")
        logger.info("Danny wants the blue car")
        sentence = Sentence(STATEMENT, "",
                            [Nominal_Group([],

src/d/i/Dialogs-0.13/src/dialogs/interpretation/questions_handler_test.py   Dialogs(Download)
from dialogs.dialog_core import Dialog
from dialogs.interpretation.questions_handler import QuestionHandler
from dialogs.sentence import Sentence
from dialogs.sentence_factory import SentenceFactory
from dialogs.interpretation.statements_builder import *
    def test_1_where_question(self):
        logger.info("\n*************  test_1_where_question ******************")
        logger.info("Where is the blue cube?")
        sentence = Sentence(W_QUESTION, "place",
                            [Nominal_Group(['the'],
    def test_2_where_question(self):
        logger.info("\n*************  test_2_where_question ******************")
        logger.info("Where is the small cube?")
        sentence = Sentence(W_QUESTION, "place",
                            [Nominal_Group(['the'],
    def test_3_what_question(self):
        logger.info("\n*************  test_3_what_question ******************")
        logger.info("What do you see?")
        sentence = Sentence(W_QUESTION, "thing",
                            [Nominal_Group([],
    def test_8_what_question(self):
        logger.info("\n*************  test_8_what_question ******************")
        logger.info("what is blue?")
        sentence = Sentence(W_QUESTION, "thing",
            [],