Words and word vectors.
 // Initialization
 public LanguageOutputTests()
 {
     _vocabulary = new Vocabulary(NumberOfWordVectorDimensions);
     
     // Ensure there are some words in the vocabulary
     _vocabulary.Add("hello");
     _vocabulary.Add("beautiful");
     _vocabulary.Add("world"); 
 }
Example #2
0
 // Initialization
 public VocabularyTests()
 {
     _vocabulary = new Vocabulary(NumberOfWordVectorDimensions, Vocabulary.WordVectorType.Learned);
 }
Example #3
0
        public ToyWorld()
        {
            if (TilesetTable == null)
                TilesetTable = GetDllDirectory() + @"\res\GameActors\Tiles\Tilesets\TilesetTable.csv";
            if (SaveFile == null)
                SaveFile = GetDllDirectory() + @"\res\Worlds\mockup999_pantry_world.tmx";

            SignalCount = GameFactory.GetSignalCount();
            AddOutputs(SignalCount, "Signal_");

            Vocabulary = new Vocabulary(WordVectorDimensions);
        }