Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   Related Pages  

dlanguage.cpp File Reference

Language simulation based on the punnets library. More...

#include <stdlib.h>
#include <sstream>
#include <fstream>
#include <iomanip>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
#include <math.h>
#include <string>
#include <mak/hash_string.h>
#include "punnets.h"

Go to the source code of this file.

Namespaces

namespace  __gnu_cxx
namespace  mak
namespace  std

Compounds

struct  neuinfo
struct  word_t


Detailed Description

Language simulation based on the punnets library.

See the paper ``A Pulsed Neural Network for Language Understanding: Discrete-Event Simulation of a Short-Term Memory Mechanism and Sentence Understanding'' for details. In short, we assign one representer neuron (exts) to represent each word. Once fired, a representer neuron periodically fires to keep short-term memory of the word. Representer neurons are interconnected via two networks, named autoassociative network (sgates) and heteroassociative network (dgates). When the network receives several words in a sequence, the two networks computes the bindings of the words, and as a result, the meaning of the input sentence is represented by the activation patter of the representer neurons (synchronized neurons have been bound). The connection weights of the two networks are obtained from the external files.

Author:
Makino, Takaki <t-makino-punnets01@snowelm.com>
Date:
2003-05-01
Version:
Id:
dlanguage.cpp,v 1.7 2003/05/08 08:23:56 t Exp

Copyright (C) 2003 Makino, Takaki.

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.

Definition in file dlanguage.cpp.


Variable Documentation

const string posstrs[]
 

Initial value:

 { "pronoun 1st", "pronoun 3rd", "noun", "proper noun", 
        "vi", "vt", "vt_subj", "det" }

Definition at line 104 of file dlanguage.cpp.


Generated on Mon Jun 16 15:42:26 2003 for Punnets by doxygen1.2.18