Click here to Skip to main content
15,868,016 members
Articles / Artificial Intelligence / Neural Networks

Multiple convolution neural networks approach for online handwriting recognition

Rate me:
Please Sign up or sign in to vote.
4.95/5 (37 votes)
9 Apr 2013CPOL8 min read 74.6K   25.1K   74  
The research focuses on the presentation of word recognition technique for an online handwriting recognition system which uses multiple component neural networks (MCNN) as the exchangeable parts of the classifier.
using System;

namespace SpellChecker.Dictionary.Phonetic
{
	/// <summary>
	///		This class hold the settings for a phonetic rule
	/// </summary>
	public class PhoneticRule
	{
		private bool _BeginningOnly;
		private int[] _Condition = new int[256];
		private int _ConditionCount = 0;
		private int _ConsumeCount;
		private bool _EndOnly;
		private int _Priority;
		private bool _ReplaceMode = false;
		private string _ReplaceString;

		/// <summary>
		///     Initializes a new instance of the class
		/// </summary>
		public PhoneticRule()
		{
		}

		/// <summary>
		///     True if this rule should be applied to the beginning only
		/// </summary>
		public bool BeginningOnly
		{
			get {return _BeginningOnly;}
			set {_BeginningOnly = value;}
		}


		/// <summary>
		///     The ascii condition array
		/// </summary>
		public int[] Condition
		{
			get {return _Condition;}
		}

		/// <summary>
		///     The number of conditions
		/// </summary>
		public int ConditionCount
		{
			get {return _ConditionCount;}
			set {_ConditionCount = value;}
		}

		/// <summary>
		///     The number of chars to consume with this rule
		/// </summary>
		public int ConsumeCount
		{
			get {return _ConsumeCount;}
			set {_ConsumeCount = value;}
		}

		/// <summary>
		///     True if this rule should be applied to the end only
		/// </summary>
		public bool EndOnly
		{
			get {return _EndOnly;}
			set {_EndOnly = value;}
		}

		/// <summary>
		///     The priority of this rule
		/// </summary>
		public int Priority
		{
			get {return _Priority;}
			set {_Priority = value;}
		}

		/// <summary>
		///     True if this rule should run in replace mode
		/// </summary>
		public bool ReplaceMode
		{
			get {return _ReplaceMode;}
			set {_ReplaceMode = value;}
		}

		/// <summary>
		///     The string to use when replacing
		/// </summary>
		public string ReplaceString
		{
			get {return _ReplaceString;}
			set {_ReplaceString = value;}
		}

	}
}

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Vietnam Maritime University
Vietnam Vietnam
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.

Comments and Discussions