SIL.FieldWorks.IText.WordBreakGuesserTests.WordBreakGuesserTester.BreakResults C# (CSharp) Method

BreakResults() public method

public BreakResults ( string txt ) : int[]
txt string
return int[]
			public int[] BreakResults(string txt)
			{
				SIL.Utils.Set<WordLoc> matches = FindAllMatches(0, txt.Length - 1, txt);
				List<WordLoc> results = BestMatches(txt, matches);
				int[] wordBreaks = new int[results.Count];
				for (int i = 0; i < results.Count; i++)
				{
					wordBreaks[i] = results[i].Start;
				}
				return wordBreaks;
			}
		}
WordBreakGuesserTests.WordBreakGuesserTester