Sha256: 8f48b015d8da51d7fc05191e13299817671f31230564d96c1a61548333d6cbd6

Contents?: true

Size: 260 Bytes

Versions: 3

Compression:

Stored size: 260 Bytes

Contents

# encoding: utf-8
require "spec_helper"

describe TextNlp::Tokenizer do
  
  it "should tokenize text" do
    n = TextNlp::Tokenizer.new
    n.tokenize("Comment q'ça    se fait ?   blabla?").should eq ["Comment","q'ça","se","fait","?","blabla?"]
  end
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
text_nlp-0.0.3 spec/tokenizer_spec.rb
text_nlp-0.0.2 spec/tokenizer_spec.rb
text_nlp-0.0.1 spec/tokenizer_spec.rb