专利名称:Modifying an input string partitioned in accordance with directionality and length
constraints
发明人:Lauri J. Karttunen
申请号:US08/857942
申请日:19970516
公开号:US06023760A
公开日:
20000208
字符串长度算不算空格
专利内容由知识产权出版社提供
摘要:A processor implemented method of modifying a string of a regular language, which includes at least two symbols and at least two predetermined substrings. Upon receipt of the string, the processor determines an initial position within the string of a substring matching one of the preselected substrings. To make this determination, the processor either matches symbols of the string starting from the left and proceeding to the right or by starting from the right and proceeding to the left. After identifying the initial position, the processor then selects either the longest or the shortest of the preselected substrings. The processor then replaces the matching substring with the string of the lower language associated with the selected preselected substring and outputs the modified string.
申请人:XEROX CORPORATION
更多信息请下载全文后查看

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系QQ:729038198,我们将在24小时内删除。