EmergentInstructiveFramework 0.1.5 → 0.1.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8e0954aa059488249722521dfb98113a6c1c17f38ea17b49788d8397bd273ae5
4
- data.tar.gz: d0b8e65ef5f8c63a04583ad41286d4a7486f308d6d515891decef94762f8b4ec
3
+ metadata.gz: e2731b95dbe553b6f2cca068017fa64a36451732c48a7de4ec2df339c9c1be79
4
+ data.tar.gz: b6fc65a11526a3a4c79332ceb617b3104f82aeefb72e4d6f864b3b5d60a25ddc
5
5
  SHA512:
6
- metadata.gz: 7b0054749c0eaa48ffefbb0f2dd74c94cba20e57c60e48cb46fe8acc64966bee416ca57ad0d4d02dd98e1b59efd511ed9c0a01d2ad46fcc6b82a9891017b2d4c
7
- data.tar.gz: d3f154936c9e52cf8ee0950280c91f096177225dadcd53f79429db4879430db0761d87604bcc900a0dc56532ce55ae163dadf3f728c7d8c38d25be66fd3291e6
6
+ metadata.gz: b200ead69b21323c0bf4ebfb6cf93bf011b60e69ae771f8e2d087c200c6479a7279f1cb4e1f3ea14580d88efe513fe349372da53511bd9dbdfaa36dab5d2641d
7
+ data.tar.gz: cc3882ac854d5b596b698f7d18b73c6e426cd2aef010d72d72cbddb6852a7e87bb21e223ea37ded1fc57931d259c5e27a1b81f67ca7878e4cef222dbd0569cb4
data/README.md CHANGED
@@ -1,35 +1,52 @@
1
1
  # EmergentInstructiveFramework
2
2
 
3
- TODO: Delete this and the text below, and describe your gem
4
-
5
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/EmergentInstructiveFramework`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ ## Expanding Grammar
4
+ This repository expands on the grammar established by Emergent Semantic Dialogue Framework into Emergent Instructive Framework.
5
+
6
+ ~~~
7
+ The direction north you walk, | but the direction south you avoid.
8
+ | | | | | | | | | | |
9
+ @word_class | | | @conjunction | | | |
10
+ | | | | | | | | @verb.
11
+ @noun | | | @noun | | |
12
+ @adjective | @noun | |
13
+ | | @verb |
14
+ @pronoun |
15
+ | @pronoun
16
+ @verb,
17
+ ~~~
18
+
19
+ In this case only the conjunctive directional needs to be chosen by in game context: if you must avoid south, then you can visit North, West, and East.
6
20
 
7
21
  ## Installation
8
22
 
9
- TODO: Replace `UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG` with your gem name right after releasing it to RubyGems.org. Please do not do it earlier due to security reasons. Alternatively, replace this section with instructions to install your gem from git if you don't plan to release to RubyGems.org.
10
-
11
- Install the gem and add to the application's Gemfile by executing:
12
-
13
- ```bash
14
- bundle add UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
15
23
  ```
16
-
17
- If bundler is not being used to manage dependencies, install the gem by executing:
18
-
19
- ```bash
20
- gem install UPDATE_WITH_YOUR_GEM_NAME_IMMEDIATELY_AFTER_RELEASE_TO_RUBYGEMS_ORG
24
+ sudo gem install EmergentInstructiveFramework
21
25
  ```
22
26
 
23
27
  ## Usage
24
28
 
25
- TODO: Write usage instructions here
29
+ ~~~
30
+ require "EmergentInstructiveFramework"
31
+
32
+ def generate_instructions
33
+ EmergentInstructiveFramework::LanguageModel.craft_conjunctive
34
+ EmergentInstructiveFramework::LanguageModel.directional_verb
35
+ EmergentInstructiveFramework::LanguageModel.pronouns
36
+ EmergentInstructiveFramework::LanguageModel.follow_up_verb
37
+ EmergentInstructiveFramework::LanguageModel.from_conjuctive_gen_phrase
38
+ end
39
+
40
+ def self_reinforcer
41
+ EmergentInstructiveFramework::LanguageModel.self_reinforcer
42
+ end
43
+
44
+ generate_instructions
45
+ self_reinforcer
46
+ ~~~
26
47
 
27
48
  ## Development
28
49
 
29
50
  After checking out the repo, run `bin/setup` to install dependencies. You can also run `bin/console` for an interactive prompt that will allow you to experiment.
30
51
 
31
52
  To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and the created tag, and push the `.gem` file to [rubygems.org](https://rubygems.org).
32
-
33
- ## Contributing
34
-
35
- Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/EmergentInstructiveFramework.
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module EmergentInstructiveFramework
4
- VERSION = "0.1.5"
4
+ VERSION = "0.1.6"
5
5
  end
@@ -183,7 +183,7 @@ module EmergentInstructiveFramework
183
183
  f.puts current_line
184
184
  }
185
185
  else
186
- puts "> Current line did not match the ideal dialogue line..."
186
+ #puts "> Current line did not match the ideal dialogue line..."
187
187
  end
188
188
 
189
189
  index = index + 1
@@ -210,7 +210,7 @@ module EmergentInstructiveFramework
210
210
  f.puts current_line
211
211
  }
212
212
  else
213
- puts "> Current line is not reinforced into longterm memory..."
213
+ #puts "> Current line is not reinforced into longterm memory..."
214
214
  end
215
215
 
216
216
  index = index + 1
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: EmergentInstructiveFramework
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.5
4
+ version: 0.1.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - LWFlouisa