All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.kotlinnlp.morphologicalanalyzer.numbers.StringWithOffset.kt Maven / Gradle / Ivy

Go to download

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)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy