Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Speech / Src / Internal / SrgsCompiler / SemanticTag.cs / 1 / SemanticTag.cs
//------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------- using System; using System.Runtime.InteropServices; using System.Speech.Internal.SrgsParser; namespace System.Speech.Internal.SrgsCompiler { ////// Summary description for Rule. /// internal sealed class SemanticTag : ParseElement, ISemanticTag { //******************************************************************* // // Constructors // //******************************************************************* #region Constructors internal SemanticTag (ParseElement parent, Backend backend) : base (parent._rule) { } #endregion //******************************************************************** // // Internal Methods // //******************************************************************* #region Internal Methods /// TODOC <_include file='doc\Tag.uex' path='docs/doc[@for="Tag.RepeatProbability"]/*' /> // The probability that this item will be repeated. void ISemanticTag.Content (IElement parentElement, string sTag, int iLine) { //Return if the Tag content is empty sTag = sTag.Trim (Helpers._achTrimChars); if (string.IsNullOrEmpty (sTag)) { return; } // Build semantic properties to attach to epsilon transition. //script _propInfo._ulId = (uint) iLine; _propInfo._comValue = sTag; ParseElementCollection parent = (ParseElementCollection) parentElement; // Attach the semantic properties on the parent element. parent.AddSemanticInterpretationTag (_propInfo); } #endregion //******************************************************************** // // Private Fields // //******************************************************************** #region Private Fields private CfgGrammar.CfgProperty _propInfo = new CfgGrammar.CfgProperty (); #endregion } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- XmlParser.cs
- ListViewGroupItemCollection.cs
- ExtractedStateEntry.cs
- ProxyWebPartConnectionCollection.cs
- CellConstant.cs
- DataTableNewRowEvent.cs
- SplineKeyFrames.cs
- ConfigurationException.cs
- PreProcessInputEventArgs.cs
- SettingsPropertyWrongTypeException.cs
- SQLUtility.cs
- XmlQualifiedName.cs
- AxisAngleRotation3D.cs
- ComponentEditorPage.cs
- SqlDelegatedTransaction.cs
- RichTextBoxDesigner.cs
- StreamHelper.cs
- SurrogateSelector.cs
- ExpressionList.cs
- DbReferenceCollection.cs
- ChangePasswordDesigner.cs
- XmlSchemaSimpleContent.cs
- DSACryptoServiceProvider.cs
- Region.cs
- WebRequestModulesSection.cs
- SettingsPropertyValueCollection.cs
- ScriptServiceAttribute.cs
- FixedSOMTableRow.cs
- QilReference.cs
- PublishLicense.cs
- OracleCommandSet.cs
- ArrayConverter.cs
- ResourceExpression.cs
- XmlJsonWriter.cs
- AssemblyAssociatedContentFileAttribute.cs
- BindingBase.cs
- ADRoleFactoryConfiguration.cs
- GenericIdentity.cs
- XsdSchemaFileEditor.cs
- SingleTagSectionHandler.cs
- ValueTable.cs
- SubqueryRules.cs
- StringValueConverter.cs
- UIElementPropertyUndoUnit.cs
- TokenizerHelper.cs
- FixedSOMImage.cs
- AstTree.cs
- TraceSection.cs
- StringBlob.cs
- X509Extension.cs
- EdmRelationshipRoleAttribute.cs
- LookupBindingPropertiesAttribute.cs
- LiteralControl.cs
- ImageList.cs
- PointConverter.cs
- TreeBuilder.cs
- WebControlsSection.cs
- DoubleLink.cs
- Matrix.cs
- OLEDB_Util.cs
- Task.cs
- QilInvoke.cs
- CompareValidator.cs
- ProcessManager.cs
- RpcCryptoContext.cs
- CellParagraph.cs
- DesigntimeLicenseContext.cs
- ToolboxDataAttribute.cs
- ProxyFragment.cs
- InputEventArgs.cs
- CollectionBase.cs
- DebugView.cs
- SortDescriptionCollection.cs
- COM2AboutBoxPropertyDescriptor.cs
- HostedTcpTransportManager.cs
- PackWebResponse.cs
- RSAProtectedConfigurationProvider.cs
- AbstractDataSvcMapFileLoader.cs
- AtlasWeb.Designer.cs
- ListViewItem.cs
- MetaData.cs
- AnimationClockResource.cs
- XmlSchemaCompilationSettings.cs
- ContractMapping.cs
- BaseValidator.cs
- ChangeInterceptorAttribute.cs
- GraphicsPath.cs
- Viewport2DVisual3D.cs
- ResourceCategoryAttribute.cs
- DiscreteKeyFrames.cs
- Style.cs
- KeyValuePair.cs
- SmiConnection.cs
- Int32Storage.cs
- StylusPlugin.cs
- controlskin.cs
- RegionData.cs
- NewItemsContextMenuStrip.cs
- Application.cs
- ObjectPersistData.cs