konlp.chunk package


konlp.chunk.api module

Korean Natural Language Toolkit chunker interface

class konlp.chunk.api.ChunkParserI[source]

Bases: konlp.parse.api.ParserI

ChunkParser Interface


Return the best chunk structure for the given tokens and return a tree.

Parameters:tokens (list(tuple(str, str))) – The list of (word, tag) tokens to be chunked.
Returns:Chunk structure
Return type:Tree
Raises:NotImplementedError – If not implement this method on a class that extends this class

Module contents

we are preparing this module