com.mayabot.nlp.segment.pipeline.PipelineLexerBuilderKts.kt Maven / Gradle / Ivy
package com.mayabot.nlp.segment.pipeline
import com.mayabot.nlp.segment.FluentLexerBuilder
import com.mayabot.nlp.segment.Lexer
fun lexerBuilder(blocker: FluentLexerBuilder.() -> Unit): Lexer {
val builder = FluentLexerBuilder()
builder.blocker()
return builder.build()
}