Title: A question about flag diacritics · Issue #10 · bmeaut/python_nlp_2017_fall · GitHub
Open Graph Title: A question about flag diacritics · Issue #10 · bmeaut/python_nlp_2017_fall
X Title: A question about flag diacritics · Issue #10 · bmeaut/python_nlp_2017_fall
Description: This question is somewhat related to #9 . I traced the rules with dummy tags. I realized that flag diacritics are to blame for the two derivations. I'm not sure how that's possible, but both branches of an 'if-else' are being traversed. ...
Open Graph Description: This question is somewhat related to #9 . I traced the rules with dummy tags. I realized that flag diacritics are to blame for the two derivations. I'm not sure how that's possible, but both branch...
X Description: This question is somewhat related to #9 . I traced the rules with dummy tags. I realized that flag diacritics are to blame for the two derivations. I'm not sure how that's possible, but bot...
Opengraph URL: https://github.com/bmeaut/python_nlp_2017_fall/issues/10
X: @github
Domain: patch-diff.githubusercontent.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"A question about flag diacritics","articleBody":"This question is somewhat related to #9 . I traced the rules with dummy tags. I realized that flag diacritics are to blame for the two derivations. I'm not sure how that's possible, but both branches of an 'if-else' are being traversed. I have a flag, which signals whether the adjective is superlative (has a (leges*)leg tag). Later down the lexicon chain I test for this flag and depending on this test I either place a -bb prefix for sure, or I place it only optionally. Now, both these branches are traversed, and on both branches the bb prefix can be derived, so I have two derivations. How can this be? Once I set a flag, its value should be determined and only one R test can succeed, or am I completely misunderstanding flag diacritics?\r\n\r\nPlease consider this partial grammar:\r\n\r\nI decide early on whether an adjective is in superlative form and I set the flag with P:\r\n\r\nLEXICON Root\r\n@P.SUPERLATIVE.YES@ Exaggerative ;\r\n@P.SUPERLATIVE.NO@ Adj ;\r\n\r\nThen, later on I test for this, when I derive the -bb postfix:\r\n\r\nLEXICON AdjectiveTag\r\n@R.SUPERLATIVE.YES@[/Adj]:0 Superlative ; ! RULE 1\r\n@R.SUPERLATIVE.NO@[/Adj]:0 SuperlativeConditional ; ! RULE 2\r\n\r\nNow, since I traced rule application I am absolutely sure that RULE 1 and RULE 2 are the two forks. Also, i traced the rules under Root, and the branch which sets SUPERLATIVE to NO never runs. So the Require Superlative disregards the value of the SUPERLATIVE flag somehow. What am I doing wrong?","author":{"url":"https://github.com/dobijan","@type":"Person","name":"dobijan"},"datePublished":"2017-11-27T09:33:40.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":4},"url":"https://github.com/10/python_nlp_2017_fall/issues/10"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:5974645d-f4a4-22e9-3f0a-5f3e8ac313f9 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E9EE:104998:17B020E:1E02677:69918ACB |
| html-safe-nonce | 956112b8fb96587edccee9e1c37d22ba98c95d1216af6daf01f6e89479bdece9 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFOUVFOjEwNDk5ODoxN0IwMjBFOjFFMDI2Nzc6Njk5MThBQ0IiLCJ2aXNpdG9yX2lkIjoiMTc3NjU0Mjg4MDc4NzE3MjA0MyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | defb6de7c840338a618cc096b0f8d44a4ee4c9a71d4a0b92753de6060c86aa69 |
| hovercard-subject-tag | issue:276952207 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/bmeaut/python_nlp_2017_fall/10/issue_layout |
| twitter:image | https://opengraph.githubassets.com/1544e7792b2475e75d7617dae2a5092ffc16e7b916b5f9a82300b24c61385479/bmeaut/python_nlp_2017_fall/issues/10 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/1544e7792b2475e75d7617dae2a5092ffc16e7b916b5f9a82300b24c61385479/bmeaut/python_nlp_2017_fall/issues/10 |
| og:image:alt | This question is somewhat related to #9 . I traced the rules with dummy tags. I realized that flag diacritics are to blame for the two derivations. I'm not sure how that's possible, but both branch... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | dobijan |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/bmeaut/python_nlp_2017_fall git https://github.com/bmeaut/python_nlp_2017_fall.git |
| octolytics-dimension-user_id | 12133481 |
| octolytics-dimension-user_login | bmeaut |
| octolytics-dimension-repository_id | 102472656 |
| octolytics-dimension-repository_nwo | bmeaut/python_nlp_2017_fall |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 102472656 |
| octolytics-dimension-repository_network_root_nwo | bmeaut/python_nlp_2017_fall |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width