陳俊達
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    --- tags: Thesis, --- # 問句導向策略和現有條件蘊涵策略比較 ## 1. 強化版分配 $[原有]- [平分] \times [每單位量]=[剩下]$ - $[原有]-[量變]=[剩下]$(單一物件加減) ## 2. 分配 - $[量變]= [平分] \times [每單位量]$ - $[原有]/[平分]=[每單位量]$ ## dd - 哥哥原來有492元,一個籃球404元,買完籃球還剩下88元? - 奶奶給哥哥22杯牛奶,同學每人可喝兩杯牛奶,哥哥把牛奶平分給幾位同學? - 哥哥得到22杯牛奶, ## 牛奶題 類似 - 22杯牛奶,一人兩杯,剩下6杯,牛奶分給幾個人? - 有852顆梨子,平分裝成15袋後,還剩下12顆,每袋有多少顆梨子? - 一條麻繩長600公分,繞柱子7圈後,還剩下5公分,柱子1圈是幾公分? - 哥哥原來有492元,買一個籃球後,還剩下88元,一個籃球多少元? - 芸芸原有750元,買每枝8元的冰棒後,還剩下406元,芸芸一共買幾枝冰棒? ### Type - 22杯牛奶,一人兩杯,剩下6杯,牛奶分給幾個人? - $[有],[每單位量],[有],[平分]$ - 有852顆梨子,平分裝成15袋後,還剩下12顆,每袋有多少顆梨子? - $[有],[平分],[有],[每單位量]$ - 一條麻繩長600公分,繞柱子7圈後,還剩下5公分,柱子1圈是幾公分? - $[屬性],[量變],[屬性],[每單位量]$ - 哥哥原來有492元,買一個籃球後,還剩下88元,一個籃球多少元? - $[有金額],[買],[有金額],[每單位價]$ - 芸芸原有750元,買每枝8元的冰棒後,還剩下406元,芸芸一共買幾枝冰棒? - $[有金額],[需要付],[有金額],[買]$ - $[有金額],[每單位價],[有金額],[買]$ ## 蘊含但沒用 爸爸有5顆蘋果,吃了2顆,媽媽有3顆蘋果,兩人原本共有幾顆蘋果? ## Expression Tree - Direction - Top-down:問句導向策略 - Bottom-up:現有條件蘊涵策略 - Example - 一杯咖啡45元,小明買了3杯,付200元,可找回幾元? - $\color{orange}{[每單位價]},\color{orange}{[買]},\color{orange}{[實際付]},\color{red}{[找回]}$ ```graphviz digraph Expression_Tree { nodesep=2.0 root [label="-", ] l [label="200", style=filled, fillcolor=orange] r [label="*"] r_l [label="45", style=filled, fillcolor=orange] r_r [label="3", style=filled, fillcolor=orange] root->l root->r r->r_l r->r_r } ``` - Procedure - 問句導向策略(找包含問句且對中愈多Type的Frame) - $\color{orange}{[實際付]}-[需要付]=\color{red}{[找回]}$ - $\color{orange}{[每單位價]}\times \color{orange}{[買]}=[需要付]$ - 現有條件蘊涵策略(不看問句,看條件句的Type可構成哪些Frame) - $\color{orange}{[每單位價]}\times \color{orange}{[買]}=\color{green}{[需要付]}$ - $\color{orange}{[實際付]}-\color{green}{[需要付]}=\color{green}{[找回]}$ - $\color{green}{[找回]}=\color{red}{[找回]}$ ## 各自有利的Example 1. 22杯牛奶,一人兩杯,剩下6杯,牛奶分給幾個人? - $[有], [每單位量], [有], [平分]$ - 無法順利生成隱藏句或沒有半隱藏句:==現有條件蘊涵策略==有利 2. 一捆衣架20元 每捆有6個,媽媽買5捆,共要付多少元? - $[每單位價], [每單位量], [買], [需要付]$ - 有不相關句:==問句導向策略==有利 # 不同策略在不相關句的處理過程 問句導向的好處:可快速處理不相關句 一捆衣架20元 每捆有6個,媽媽買5捆,共要付多少元? - Type Sequence - [每單位價], [每單位量], [買], [需要付] ## 問句導向 ==(一步解決)== - 根據問句導向策略:包含問句[需要付]且對中最多Type的Frame - 買東西需要付錢 - [每單位價], [買], [需要付] $\to$ 3 pts - $20 \times 5=100$, done ## 現有條件蘊涵策略 目前條件句可以entail的就先做掉 ### Phase 1: 考慮到第二句 #### 1. 找目前條件句有的先算 - Target - [每單位價], [每單位量] - Matched Frame - 每單位價換算 - $[每單位價] \times [每單位量] =\color{green}{[每單位價]}$ - $[每單位價] \times [每單位量] =[需要付]$ <!-- - Type Entailment [每單位價] 和 [需要付] 都需轉成表達一存在事實的句型 [每單位價] - 並將Entailment後的type [每單位價]併到原始句型序列中 --> - Type與文句的對應 - [每單位價]相當於:`6個衣架120元` - [需要付]相當於:`買6個衣架需要付120元` - ++以下為縮短篇幅僅考慮$\color{green}{[每單位價]}$的狀況++ #### 2. 不動 維持[每單位價], [每單位量] ### Phase 2: 考慮到第三句 #### 1. 找目前條件句有的先算 - Target - $\color{green}{[每單位價]}$, [買] - Matched Frame - 買東西需要付錢 - $\color{green}{[每單位價]} \times [買] =[需要付]$ - 6個衣架120元,媽媽買5捆 $\to$ x, 不合理 - 擁有的錢不能少於需付的錢 - $[有金額] \ge \color{green}{[每單位價]} \times [買]$ - 同樣,6個衣架120元,媽媽買5捆 $\to$ x, 不合理 #### 2. Phase 1-2 不動 - Target - [每單位價], [每單位量], [買] - 由於phase 2-1 顯示先做1st-type & 2nd-type 失敗,故考慮 1st-type & 3rd-type or 2nd-type & 3rd-type - Sub-target - [每單位價], [買] - Matched Frame - 買東西需要付錢 - $[每單位價] \times [買] =\color{red}{[需要付]}$ - 一捆衣架20元,媽媽買5捆 $\to$ o, 合理 - $\color{red}{[需要付]}$相當於`媽媽需要付100元` - 擁有的錢不能少於需付的錢 - $[有金額] \ge [每單位價] \times [買]$ - 一捆衣架20元,媽媽買5捆 $\to$ o, 合理 - ++為縮短篇幅以下不考慮此狀況++ - 在這個Sub-target中,原Target沒用到的是$\color{blue}{[每單位量]}$,之後繼續用 - [每單位量], [買] - Matched Frame - 每單位量計算 - $[每單位量] \times [買] =\color{orange}{[買]}$ - 每捆有6個,媽媽買5捆 $\to$ o, 合理 - $\color{orange}{[買]}$相當於`媽媽買30個` - $[每單位量] \times [買] =[有]$ - 每捆有6個,媽媽買5捆 $\to$ o, 合理 - ++為縮短篇幅以下不考慮此狀況++ - 在這個Sub-target中,原Target沒用到的是$\color{brown}{[每單位價]}$,之後繼續用 - $\color{brown}{[每單位價]}$相當於`一捆衣架20元` ### Phase 3: 考慮到第四句,也就是問句 因為Phase 2-1 不work,走phase 2-2 兩個Sub-target,都新生成一個type,以及有一個type沒被用到 - Target - $\color{blue}{[每單位量]}$, $\color{red}{[需要付]}$, [需要付] - ==問句是[需要付],看前面有沒有[需要付]可直接取值== - ==有$\color{red}{[需要付]}$(`媽媽需要付100元`),可直接求出答案== - $\color{brown}{[每單位價]}$, $\color{orange}{[買]}$, [需要付] - ==問句是[需要付],看前面有沒有[需要付]可直接取值== - ==沒有,再看目前的type 組合可否構成一個Frame== - 看似可構成Frame **買東西需要付錢**:$[每單位價] \times [買] =[需要付]$,但無法解 - $\color{brown}{[每單位價]} \times \color{orange}{[買]}$相當於`一捆衣架20元,媽媽買30個` - 不合理 <!-- - 10元商店的東西都賣10元,媽媽買1枝鉛筆,媽媽買一個橡皮擦,共要付幾元? - [每單位價], [買]_1, [買]_2, [需要付] - [每單位價], [買] --> ## 哪些Frame - 一顆蘋果30元,爸爸有100元,爸爸買一顆蘋果,爸爸剩下幾元? - [每單位價], [有金額], [買], [有金額] - [有金額]-[需要付]=[有金額] - [每單位價]*[買]=[需要付]

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully