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

com.kotlinnlp.frameextractor.FrameExtractorParameters.kt Maven / Gradle / Ivy

Go to download

FrameExtractor is a module for semantic frame parsing that performs intent detection and slot filling.

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.frameextractor

import com.kotlinnlp.simplednn.core.layers.StackedLayersParameters
import com.kotlinnlp.simplednn.deeplearning.birnn.BiRNNParameters
import java.io.Serializable

/**
 * The [FramesExtractorModel] parameters.
 *
 * @property biRNN1Params
 * @property biRNN2Params
 * @property intentNetworkParams
 * @property slotsNetworkParams
 */
class FrameExtractorParameters(
  val biRNN1Params: BiRNNParameters,
  val biRNN2Params: BiRNNParameters,
  val intentNetworkParams: StackedLayersParameters,
  val slotsNetworkParams: StackedLayersParameters
) : Serializable {

  companion object {

    /**
     * Private val used to serialize the class (needed by Serializable).
     */
    @Suppress("unused")
    private const val serialVersionUID: Long = 1L
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy