GrammarScope  4.0.0
Public Member Functions | List of all members
grammarscope.server.parser.iface.ISegmenter Interface Reference
Inheritance diagram for grammarscope.server.parser.iface.ISegmenter:
Inheritance graph
[legend]

Public Member Functions

List< List< CoreLabel > > getSentenceWords (final URL url) throws IOException
 
List< List< CoreLabel > > getSentenceWords (final String text)
 
String getTokenizeModel ()
 

Detailed Description

Segmenter interface

Author
Bernard Bou

Member Function Documentation

◆ getSentenceWords() [1/2]

List<List<CoreLabel> > grammarscope.server.parser.iface.ISegmenter.getSentenceWords ( final String  text)

Get sentences from text

Parameters
texttext to segment
Returns
list of sentences

Implemented in grammarscope.server.parser.Segmenter.

◆ getSentenceWords() [2/2]

List<List<CoreLabel> > grammarscope.server.parser.iface.ISegmenter.getSentenceWords ( final URL  url) throws IOException

Get document from URL

Parameters
urlURL
Returns
list of sentences
Exceptions
IOExceptionexception

Implemented in grammarscope.server.parser.Segmenter.

◆ getTokenizeModel()

String grammarscope.server.parser.iface.ISegmenter.getTokenizeModel ( )

Get tokenize model

Returns
model

Implemented in grammarscope.server.parser.Segmenter.


The documentation for this interface was generated from the following file: