You are seeing this message because you are using the Django runserver and the DEBUG setting is False.

Runserver should not be used in the production.

If you do not see page the styling - set DEBUG = True or use --insecure flag with the runserver command.

To serve the static media in the production:

  • configure your webserver to alias the urls starting with /m/ to the directory /root/askbot/askbot-devel-master/myappmysql1/askbot_site/static;
  • run python manage.py collectstatic.

  • Ask Your Question
    0

    How to deal with articles in Spanish utterance

    asked 2022-08-11 16:10:55 +0000

    Vanessa gravatar image

    Utterance:

    activa el asistente a la curva

    English translation:

    activate the curve assistant

    Annotation:

    1.environmentcontrol:confirm:enable:drivingassist_mode -- activa el [asistente a la curva]<driving_assist_mode>
    
    2.environmentcontrol:confirm:enable:drivingassist_mode -- activa el [asistente]<driving_assist_mode> a la [curva]<driving_assist_mode>
    

    Question:

    According to the guideline: "Unless a mention has specific rules saying otherwise, only include articles and prepositions and other filler words in a mention if they are necessary for the mention to make sense."

    "a" and "la" are articles in this utterance, but we are not sure if "a la", "asistente" and "curva" should be annotated as a whole word. Or we should annotate "asistente" and "curva" as "drivingassistmode" respectively, because "asistente a la curva" is not a compound word. Please advise which annotation is correct.

    edit retag flag offensive close merge delete

    1 Answer

    Sort by ยป oldest newest most voted
    0

    answered 2022-08-11 16:16:10 +0000

    Jacqui gravatar image

    We need to consider 2 aspects of this annotation.

    .Mentions
    

    Extract from guidelines: "Sometimes the beginning and ending word of a mention will not be clear, because there are words such as articles (e.g. "a" or "the"), prepositions (e.g. "to", "of") or particles (e.g. "'s") next to the mention. Unless a mention has specific rules saying otherwise, only include articles and prepositions and other filler words in a mention if they are necessary for the mention to make sense."

    The guideline regarding the inclusion of articles and prepositions refers to words at the beginning and ending of a mention, e.g. "at two o' clock" "on the fifth july". In this example, the words "a la" occur in the middle of the mention and additionally "asistente a la curva" is semantically equivalent to "curve assistant" so if we were tagging this as a driving mode, we would not split it into two separate mentions.

    .Parsetype
    

    a) The confirm intent requires an explicit approbation keyword (e.g. "yes", "sure", "go ahead"). Since we do not have an explicit keyword in this example, we use "enable" and not "confirm:enable"

    b) In the guidelines we have this example with "curves": environmentcontrol:enable:drivingassistmodespeed_adjustment -- go at the optimal speed through [curves]<speed_adjustment_criterion>

    Semantically, this is the same as requesting the system to "activate the curve assistant" So, we choose the same parsetype - environmentcontrol:enable:drivingassistmodespeed_adjustment

    c) We then tag "curva" as <speed_adjustment_criterion>

    Correct annotation: environmentcontrol:enable:drivingassistmodespeed_adjustment -- activa el asistente a la [curva]<speed_adjustment_criterion>

    edit flag offensive delete link more

    Your Answer

    Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

    Add Answer

    Question Tools

    1 follower

    Stats

    Asked: 2022-08-11 16:10:55 +0000

    Seen: 121 times

    Last updated: Aug 11 '22