| EditDistanceFindSourceItemIndex Method |
Retrieves the edit operation index for a specified source sequence offset.
Namespace: Sdl.LanguagePlatform.Core.EditDistanceAssembly: Sdl.LanguagePlatform.Core (in Sdl.LanguagePlatform.Core.dll) Version: 1.6.0.0 (1.7.3164.0)
Syntaxpublic int FindSourceItemIndex(
int sourceTokenOffset
)
Public Function FindSourceItemIndex (
sourceTokenOffset As Integer
) As Integer
public:
int FindSourceItemIndex(
int sourceTokenOffset
)
member FindSourceItemIndex :
sourceTokenOffset : int -> int
Parameters
- sourceTokenOffset
- Type: SystemInt32
The sequence offset in the underlying source sequence.
Return Value
Type:
Int32The zero-based index of the corresponding edit distance item, if found, or
-1 otherwise.
See Also
Comments