com.kotlinnlp.morphologicalanalyzer.numbers.StringWithOffset.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of morphologicalanalyzer Show documentation
Show all versions of morphologicalanalyzer Show documentation
MorphologicalAnalyzer is a Kotlin library designed to support morphological analysis of a text.
The newest version!
/* Copyright 2018-present The KotlinNLP Authors. All Rights Reserved.
*
* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
* ------------------------------------------------------------------*/
package com.kotlinnlp.morphologicalanalyzer.numbers
/**
* A wrapper of a string with an offset.
*
* @property str the string
* @property offset the offset
*/
data class StringWithOffset(val str: String, val offset: Int)