edu.columbia.cs.ref.tool.chunker
Interface Chunker

All Known Implementing Classes:
OpenNLPChunker

public interface Chunker

The Interface Chunker represents objects that can be used to perform chunking tasks.

Since:
2011-09-27
Version:
0.1
Author:
Pablo Barrio, Goncalo Simoes

Method Summary
 java.lang.String[] chunk(java.lang.String[] toks, java.lang.String[] tags)
          Given a tokenization and the coresponding POS tags, it returns the chunking tags for each token
 

Method Detail

chunk

java.lang.String[] chunk(java.lang.String[] toks,
                         java.lang.String[] tags)
Given a tokenization and the coresponding POS tags, it returns the chunking tags for each token

Parameters:
toks - the tokenization of a sentence
tags - the POS tags of a sentence
Returns:
the chunking tags