fix SoftNcRunner GM code normalization.

This commit is contained in:
2026-05-06 13:21:19 +08:00
parent 0fe9497552
commit 2f57932000
1238 changed files with 69405 additions and 22511 deletions
@@ -6,7 +6,7 @@
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Interface ISegmenter | HiAPI-C# 2025 ">
<meta name="description" content="interface to get segment for .">
<meta name="description" content="Interface to segment s into s.">
<link rel="icon" href="../img/HiAPI.favicon.ico">
<link rel="stylesheet" href="../public/docfx.min.css">
<link rel="stylesheet" href="../public/main.css">
@@ -97,7 +97,7 @@ Interface ISegmenter
<dl><dt>Assembly</dt><dd>HiMech.dll</dd></dl>
</div>
<div class="markdown summary"><p>interface to get segment for <a class="xref" href="Hi.NcParsers.Sentence.html">Sentence</a>.</p>
<div class="markdown summary"><p>Interface to segment <a class="xref" href="Hi.Common.FileLines.IndexedFileLine.html">IndexedFileLine</a>s into <a class="xref" href="Hi.NcParsers.Sentence.html">Sentence</a>s.</p>
</div>
<div class="markdown conceptual"></div>
@@ -160,7 +160,8 @@ Interface ISegmenter
</h3>
<div class="markdown level1 summary"></div>
<div class="markdown level1 summary"><p>Display name of this segmenter.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
@@ -188,35 +189,37 @@ Interface ISegmenter
</h2>
<a id="Hi_NcParsers_Segmenters_ISegmenter_GetSegment_" data-uid="Hi.NcParsers.Segmenters.ISegmenter.GetSegment*"></a>
<a id="Hi_NcParsers_Segmenters_ISegmenter_GetSentences_" data-uid="Hi.NcParsers.Segmenters.ISegmenter.GetSentences*"></a>
<h3 id="Hi_NcParsers_Segmenters_ISegmenter_GetSegment_Hi_Common_Collections_LazyLinkedListNode_Hi_Common_FileLines_IndexedFileLine__Hi_Common_Collections_LazyLinkedListNode_Hi_Common_FileLines_IndexedFileLine___Hi_Common_Collections_LazyLinkedListNode_Hi_Common_FileLines_IndexedFileLine___Hi_NcParsers_NcDiagnosticProgress_" data-uid="Hi.NcParsers.Segmenters.ISegmenter.GetSegment(Hi.Common.Collections.LazyLinkedListNode{Hi.Common.FileLines.IndexedFileLine},Hi.Common.Collections.LazyLinkedListNode{Hi.Common.FileLines.IndexedFileLine}@,Hi.Common.Collections.LazyLinkedListNode{Hi.Common.FileLines.IndexedFileLine}@,Hi.NcParsers.NcDiagnosticProgress)">
GetSegment(LazyLinkedListNode&lt;IndexedFileLine&gt;, out LazyLinkedListNode&lt;IndexedFileLine&gt;, out LazyLinkedListNode&lt;IndexedFileLine&gt;, NcDiagnosticProgress)
<h3 id="Hi_NcParsers_Segmenters_ISegmenter_GetSentences_Hi_Common_Collections_LazyLinkedList_Hi_Common_FileLines_IndexedFileLine__Hi_NcParsers_NcDiagnosticProgress_" data-uid="Hi.NcParsers.Segmenters.ISegmenter.GetSentences(Hi.Common.Collections.LazyLinkedList{Hi.Common.FileLines.IndexedFileLine},Hi.NcParsers.NcDiagnosticProgress)">
GetSentences(LazyLinkedList&lt;IndexedFileLine&gt;, NcDiagnosticProgress)
</h3>
<div class="markdown level1 summary"><p>Get a sentence block according to the <code class="paramref">srcNode</code>.
the <code class="paramref">srcNode</code> can be any node in the nodes from <code class="paramref">beginNode</code> to the exclusive <code class="paramref">endNode</code>.</p>
<div class="markdown level1 summary"><p>Segments the indexed file lines into <a class="xref" href="Hi.NcParsers.Sentence.html">Sentence</a>s.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">void GetSegment(LazyLinkedListNode&lt;IndexedFileLine&gt; srcNode, out LazyLinkedListNode&lt;IndexedFileLine&gt; beginNode, out LazyLinkedListNode&lt;IndexedFileLine&gt; endNode, NcDiagnosticProgress ncDiagnosticProgress)</code></pre>
<pre><code class="lang-csharp hljs">IEnumerable&lt;Sentence&gt; GetSentences(LazyLinkedList&lt;IndexedFileLine&gt; indexedFileLines, NcDiagnosticProgress ncDiagnosticProgress)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>srcNode</code> <a class="xref" href="Hi.Common.Collections.LazyLinkedListNode-1.html">LazyLinkedListNode</a>&lt;<a class="xref" href="Hi.Common.FileLines.IndexedFileLine.html">IndexedFileLine</a>&gt;</dt>
<dd></dd>
<dt><code>beginNode</code> <a class="xref" href="Hi.Common.Collections.LazyLinkedListNode-1.html">LazyLinkedListNode</a>&lt;<a class="xref" href="Hi.Common.FileLines.IndexedFileLine.html">IndexedFileLine</a>&gt;</dt>
<dd></dd>
<dt><code>endNode</code> <a class="xref" href="Hi.Common.Collections.LazyLinkedListNode-1.html">LazyLinkedListNode</a>&lt;<a class="xref" href="Hi.Common.FileLines.IndexedFileLine.html">IndexedFileLine</a>&gt;</dt>
<dd><p>exclusive end node</p>
<dt><code>indexedFileLines</code> <a class="xref" href="Hi.Common.Collections.LazyLinkedList-1.html">LazyLinkedList</a>&lt;<a class="xref" href="Hi.Common.FileLines.IndexedFileLine.html">IndexedFileLine</a>&gt;</dt>
<dd><p>The lazy linked list of indexed file lines.</p>
</dd>
<dt><code>ncDiagnosticProgress</code> <a class="xref" href="Hi.NcParsers.NcDiagnosticProgress.html">NcDiagnosticProgress</a></dt>
<dd></dd>
<dd><p>Diagnostic progress reporter.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.collections.generic.ienumerable-1">IEnumerable</a>&lt;<a class="xref" href="Hi.NcParsers.Sentence.html">Sentence</a>&gt;</dt>
<dd><p>A sequence of <a class="xref" href="Hi.NcParsers.Sentence.html">Sentence</a>s.</p>
</dd>
</dl>