cloudmersive-nlp-api-client 1.2.9 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +38 -35
- data/cloudmersive-nlp-api-client.gemspec +3 -3
- data/docs/CheckSentenceRequest.md +8 -0
- data/docs/CheckSentenceResponse.md +9 -0
- data/docs/CheckWordRequest.md +8 -0
- data/docs/{CorrectJsonResponse.md → CheckWordResponse.md} +1 -1
- data/docs/{CorrectWordInSentenceJsonResponse.md → CorrectWordInSentence.md} +1 -1
- data/docs/Entity.md +9 -0
- data/docs/{ExtractEntitiesStringApi.md → ExtractEntitiesApi.md} +10 -10
- data/docs/ExtractEntitiesRequest.md +8 -0
- data/docs/ExtractEntitiesResponse.md +9 -0
- data/docs/GetWordsRequest.md +8 -0
- data/docs/{GetWordsJsonResponse.md → GetWordsResponse.md} +1 -1
- data/docs/LanguageDetectionApi.md +7 -7
- data/docs/LanguageDetectionRequest.md +8 -0
- data/docs/{ParseStringApi.md → ParseApi.md} +10 -10
- data/docs/ParseRequest.md +8 -0
- data/docs/ParseResponse.md +8 -0
- data/docs/{SpellCheckApi.md → PosTaggerApi.md} +73 -73
- data/docs/SegmentationApi.md +118 -0
- data/docs/SentenceSegmentationRequest.md +8 -0
- data/docs/SentenceSegmentationResponse.md +10 -0
- data/docs/SpellcheckApi.md +118 -0
- data/lib/cloudmersive-nlp-api-client.rb +23 -15
- data/lib/cloudmersive-nlp-api-client/api/{extract_entities_string_api.rb → extract_entities_api.rb} +14 -14
- data/lib/cloudmersive-nlp-api-client/api/language_detection_api.rb +15 -15
- data/lib/cloudmersive-nlp-api-client/api/{parse_string_api.rb → parse_api.rb} +14 -14
- data/lib/cloudmersive-nlp-api-client/api/pos_tagger_api.rb +353 -0
- data/lib/cloudmersive-nlp-api-client/api/segmentation_api.rb +133 -0
- data/lib/cloudmersive-nlp-api-client/api/spellcheck_api.rb +133 -0
- data/lib/cloudmersive-nlp-api-client/api_client.rb +3 -3
- data/lib/cloudmersive-nlp-api-client/api_error.rb +3 -3
- data/lib/cloudmersive-nlp-api-client/configuration.rb +3 -3
- data/lib/cloudmersive-nlp-api-client/models/check_sentence_request.rb +189 -0
- data/lib/cloudmersive-nlp-api-client/models/{check_sentence_json_response.rb → check_sentence_response.rb} +5 -5
- data/lib/cloudmersive-nlp-api-client/models/{check_json_response.rb → check_word_request.rb} +12 -13
- data/lib/cloudmersive-nlp-api-client/models/{correct_json_response.rb → check_word_response.rb} +4 -4
- data/lib/cloudmersive-nlp-api-client/models/{correct_word_in_sentence_json_response.rb → correct_word_in_sentence.rb} +4 -4
- data/lib/cloudmersive-nlp-api-client/models/entity.rb +197 -0
- data/lib/cloudmersive-nlp-api-client/models/extract_entities_request.rb +189 -0
- data/lib/cloudmersive-nlp-api-client/models/extract_entities_response.rb +200 -0
- data/lib/cloudmersive-nlp-api-client/models/get_words_request.rb +188 -0
- data/lib/cloudmersive-nlp-api-client/models/{get_words_json_response.rb → get_words_response.rb} +4 -4
- data/lib/cloudmersive-nlp-api-client/models/language_detection_request.rb +189 -0
- data/lib/cloudmersive-nlp-api-client/models/language_detection_response.rb +3 -3
- data/lib/cloudmersive-nlp-api-client/models/parse_request.rb +189 -0
- data/lib/cloudmersive-nlp-api-client/models/parse_response.rb +189 -0
- data/lib/cloudmersive-nlp-api-client/models/pos_request.rb +3 -3
- data/lib/cloudmersive-nlp-api-client/models/pos_response.rb +3 -3
- data/lib/cloudmersive-nlp-api-client/models/pos_sentence.rb +3 -3
- data/lib/cloudmersive-nlp-api-client/models/pos_tagged_word.rb +3 -3
- data/lib/cloudmersive-nlp-api-client/models/sentence_segmentation_request.rb +188 -0
- data/lib/cloudmersive-nlp-api-client/models/sentence_segmentation_response.rb +208 -0
- data/lib/cloudmersive-nlp-api-client/models/word_position.rb +3 -3
- data/lib/cloudmersive-nlp-api-client/version.rb +4 -4
- data/spec/api/{extract_entities_string_api_spec.rb → extract_entities_api_spec.rb} +12 -12
- data/spec/api/language_detection_api_spec.rb +6 -6
- data/spec/api/{parse_string_api_spec.rb → parse_api_spec.rb} +12 -12
- data/spec/api/pos_tagger_api_spec.rb +107 -0
- data/spec/api/segmentation_api_spec.rb +59 -0
- data/spec/api/spellcheck_api_spec.rb +59 -0
- data/spec/api_client_spec.rb +3 -3
- data/spec/configuration_spec.rb +3 -3
- data/spec/models/check_sentence_request_spec.rb +42 -0
- data/spec/models/{check_sentence_json_response_spec.rb → check_sentence_response_spec.rb} +9 -9
- data/spec/models/{check_json_response_spec.rb → check_word_request_spec.rb} +10 -10
- data/spec/models/{correct_json_response_spec.rb → check_word_response_spec.rb} +9 -9
- data/spec/models/{correct_word_in_sentence_json_response_spec.rb → correct_word_in_sentence_spec.rb} +9 -9
- data/spec/models/entity_spec.rb +48 -0
- data/spec/models/extract_entities_request_spec.rb +42 -0
- data/spec/models/extract_entities_response_spec.rb +48 -0
- data/spec/models/get_words_request_spec.rb +42 -0
- data/spec/models/{get_words_json_response_spec.rb → get_words_response_spec.rb} +9 -9
- data/spec/models/language_detection_request_spec.rb +42 -0
- data/spec/models/language_detection_response_spec.rb +3 -3
- data/spec/models/parse_request_spec.rb +42 -0
- data/spec/models/parse_response_spec.rb +42 -0
- data/spec/models/pos_request_spec.rb +3 -3
- data/spec/models/pos_response_spec.rb +3 -3
- data/spec/models/pos_sentence_spec.rb +3 -3
- data/spec/models/pos_tagged_word_spec.rb +3 -3
- data/spec/models/sentence_segmentation_request_spec.rb +42 -0
- data/spec/models/sentence_segmentation_response_spec.rb +54 -0
- data/spec/models/word_position_spec.rb +3 -3
- data/spec/spec_helper.rb +3 -3
- metadata +75 -52
- data/docs/CheckJsonResponse.md +0 -8
- data/docs/CheckSentenceJsonResponse.md +0 -9
- data/docs/PosTaggerJsonApi.md +0 -63
- data/docs/PosTaggerStringApi.md +0 -63
- data/docs/SentencesApi.md +0 -63
- data/docs/WordsApi.md +0 -448
- data/lib/cloudmersive-nlp-api-client/api/pos_tagger_json_api.rb +0 -78
- data/lib/cloudmersive-nlp-api-client/api/pos_tagger_string_api.rb +0 -78
- data/lib/cloudmersive-nlp-api-client/api/sentences_api.rb +0 -78
- data/lib/cloudmersive-nlp-api-client/api/spell_check_api.rb +0 -353
- data/lib/cloudmersive-nlp-api-client/api/words_api.rb +0 -463
- data/spec/api/pos_tagger_json_api_spec.rb +0 -47
- data/spec/api/pos_tagger_string_api_spec.rb +0 -47
- data/spec/api/sentences_api_spec.rb +0 -47
- data/spec/api/spell_check_api_spec.rb +0 -107
- data/spec/api/words_api_spec.rb +0 -131
@@ -1,47 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#nlpapi
|
3
|
-
|
4
|
-
#The powerful Natural Language Processing APIs let you perform part of speech tagging, entity identification, sentence parsing, and much more to help you understand the meaning of unstructured text.
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: unset
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
|
16
|
-
# Unit tests for CloudmersiveNlpApiClient::PosTaggerJsonApi
|
17
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
-
# Please update as you see appropriate
|
19
|
-
describe 'PosTaggerJsonApi' do
|
20
|
-
before do
|
21
|
-
# run before each test
|
22
|
-
@instance = CloudmersiveNlpApiClient::PosTaggerJsonApi.new
|
23
|
-
end
|
24
|
-
|
25
|
-
after do
|
26
|
-
# run after each test
|
27
|
-
end
|
28
|
-
|
29
|
-
describe 'test an instance of PosTaggerJsonApi' do
|
30
|
-
it 'should create an instance of PosTaggerJsonApi' do
|
31
|
-
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::PosTaggerJsonApi)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
# unit tests for pos_tagger_json_post
|
36
|
-
# Part-of-speech tag a string
|
37
|
-
# Part-of-speech (POS) tag a string and return result as JSON
|
38
|
-
# @param request Input string
|
39
|
-
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [PosResponse]
|
41
|
-
describe 'pos_tagger_json_post test' do
|
42
|
-
it "should work" do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
end
|
@@ -1,47 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#nlpapi
|
3
|
-
|
4
|
-
#The powerful Natural Language Processing APIs let you perform part of speech tagging, entity identification, sentence parsing, and much more to help you understand the meaning of unstructured text.
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: unset
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
|
16
|
-
# Unit tests for CloudmersiveNlpApiClient::PosTaggerStringApi
|
17
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
-
# Please update as you see appropriate
|
19
|
-
describe 'PosTaggerStringApi' do
|
20
|
-
before do
|
21
|
-
# run before each test
|
22
|
-
@instance = CloudmersiveNlpApiClient::PosTaggerStringApi.new
|
23
|
-
end
|
24
|
-
|
25
|
-
after do
|
26
|
-
# run after each test
|
27
|
-
end
|
28
|
-
|
29
|
-
describe 'test an instance of PosTaggerStringApi' do
|
30
|
-
it 'should create an instance of PosTaggerStringApi' do
|
31
|
-
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::PosTaggerStringApi)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
# unit tests for pos_tagger_string_post
|
36
|
-
# Part-of-speech tag a string
|
37
|
-
# Perform a part-of-speech (POS) tagging on the input string.
|
38
|
-
# @param input Input string
|
39
|
-
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [String]
|
41
|
-
describe 'pos_tagger_string_post test' do
|
42
|
-
it "should work" do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
end
|
@@ -1,47 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#nlpapi
|
3
|
-
|
4
|
-
#The powerful Natural Language Processing APIs let you perform part of speech tagging, entity identification, sentence parsing, and much more to help you understand the meaning of unstructured text.
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: unset
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
|
16
|
-
# Unit tests for CloudmersiveNlpApiClient::SentencesApi
|
17
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
-
# Please update as you see appropriate
|
19
|
-
describe 'SentencesApi' do
|
20
|
-
before do
|
21
|
-
# run before each test
|
22
|
-
@instance = CloudmersiveNlpApiClient::SentencesApi.new
|
23
|
-
end
|
24
|
-
|
25
|
-
after do
|
26
|
-
# run after each test
|
27
|
-
end
|
28
|
-
|
29
|
-
describe 'test an instance of SentencesApi' do
|
30
|
-
it 'should create an instance of SentencesApi' do
|
31
|
-
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::SentencesApi)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
# unit tests for sentences_post
|
36
|
-
# Extract sentences from string
|
37
|
-
# Segment an input string into separate sentences, output result as a string.
|
38
|
-
# @param input Input string
|
39
|
-
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [String]
|
41
|
-
describe 'sentences_post test' do
|
42
|
-
it "should work" do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
end
|
@@ -1,107 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#nlpapi
|
3
|
-
|
4
|
-
#The powerful Natural Language Processing APIs let you perform part of speech tagging, entity identification, sentence parsing, and much more to help you understand the meaning of unstructured text.
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: unset
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
|
16
|
-
# Unit tests for CloudmersiveNlpApiClient::SpellCheckApi
|
17
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
-
# Please update as you see appropriate
|
19
|
-
describe 'SpellCheckApi' do
|
20
|
-
before do
|
21
|
-
# run before each test
|
22
|
-
@instance = CloudmersiveNlpApiClient::SpellCheckApi.new
|
23
|
-
end
|
24
|
-
|
25
|
-
after do
|
26
|
-
# run after each test
|
27
|
-
end
|
28
|
-
|
29
|
-
describe 'test an instance of SpellCheckApi' do
|
30
|
-
it 'should create an instance of SpellCheckApi' do
|
31
|
-
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::SpellCheckApi)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
# unit tests for spell_check_check_json
|
36
|
-
# Spell check word
|
37
|
-
# Spell check a word as JSON
|
38
|
-
# @param value Input sentence
|
39
|
-
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [CheckJsonResponse]
|
41
|
-
describe 'spell_check_check_json test' do
|
42
|
-
it "should work" do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
# unit tests for spell_check_check_sentence_json
|
48
|
-
# Check if sentence is spelled correctly
|
49
|
-
# Checks whether the sentence is spelled correctly and returns the result as JSON
|
50
|
-
# @param value Input sentence
|
51
|
-
# @param [Hash] opts the optional parameters
|
52
|
-
# @return [CheckSentenceJsonResponse]
|
53
|
-
describe 'spell_check_check_sentence_json test' do
|
54
|
-
it "should work" do
|
55
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
# unit tests for spell_check_check_sentence_string
|
60
|
-
# Spell check a sentence
|
61
|
-
# Check if a sentence is spelled correctly
|
62
|
-
# @param value Input sentence word
|
63
|
-
# @param [Hash] opts the optional parameters
|
64
|
-
# @return [BOOLEAN]
|
65
|
-
describe 'spell_check_check_sentence_string test' do
|
66
|
-
it "should work" do
|
67
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
-
end
|
69
|
-
end
|
70
|
-
|
71
|
-
# unit tests for spell_check_correct
|
72
|
-
# Find spelling corrections
|
73
|
-
# Find the spelling corrections for a word
|
74
|
-
# @param value Input word
|
75
|
-
# @param [Hash] opts the optional parameters
|
76
|
-
# @return [String]
|
77
|
-
describe 'spell_check_correct test' do
|
78
|
-
it "should work" do
|
79
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
-
end
|
81
|
-
end
|
82
|
-
|
83
|
-
# unit tests for spell_check_correct_json
|
84
|
-
# Find spelling corrections
|
85
|
-
# Find spelling correction suggestions and return result as JSON
|
86
|
-
# @param value Input string
|
87
|
-
# @param [Hash] opts the optional parameters
|
88
|
-
# @return [CorrectJsonResponse]
|
89
|
-
describe 'spell_check_correct_json test' do
|
90
|
-
it "should work" do
|
91
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
-
end
|
93
|
-
end
|
94
|
-
|
95
|
-
# unit tests for spell_check_post
|
96
|
-
# Spell check a word
|
97
|
-
# Check if a word is spelled correctly
|
98
|
-
# @param value Input string word
|
99
|
-
# @param [Hash] opts the optional parameters
|
100
|
-
# @return [BOOLEAN]
|
101
|
-
describe 'spell_check_post test' do
|
102
|
-
it "should work" do
|
103
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
-
end
|
105
|
-
end
|
106
|
-
|
107
|
-
end
|
data/spec/api/words_api_spec.rb
DELETED
@@ -1,131 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
#nlpapi
|
3
|
-
|
4
|
-
#The powerful Natural Language Processing APIs let you perform part of speech tagging, entity identification, sentence parsing, and much more to help you understand the meaning of unstructured text.
|
5
|
-
|
6
|
-
OpenAPI spec version: v1
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
Swagger Codegen version: unset
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
|
16
|
-
# Unit tests for CloudmersiveNlpApiClient::WordsApi
|
17
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
18
|
-
# Please update as you see appropriate
|
19
|
-
describe 'WordsApi' do
|
20
|
-
before do
|
21
|
-
# run before each test
|
22
|
-
@instance = CloudmersiveNlpApiClient::WordsApi.new
|
23
|
-
end
|
24
|
-
|
25
|
-
after do
|
26
|
-
# run after each test
|
27
|
-
end
|
28
|
-
|
29
|
-
describe 'test an instance of WordsApi' do
|
30
|
-
it 'should create an instance of WordsApi' do
|
31
|
-
expect(@instance).to be_instance_of(CloudmersiveNlpApiClient::WordsApi)
|
32
|
-
end
|
33
|
-
end
|
34
|
-
|
35
|
-
# unit tests for words_adjectives
|
36
|
-
# Get adjectives in string
|
37
|
-
# Retrieves all adjectives in input string
|
38
|
-
# @param input Input string
|
39
|
-
# @param [Hash] opts the optional parameters
|
40
|
-
# @return [String]
|
41
|
-
describe 'words_adjectives test' do
|
42
|
-
it "should work" do
|
43
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
# unit tests for words_adverbs
|
48
|
-
# Get adverbs in input string
|
49
|
-
# Returns all adverb words in the input string
|
50
|
-
# @param input Input string
|
51
|
-
# @param [Hash] opts the optional parameters
|
52
|
-
# @return [String]
|
53
|
-
describe 'words_adverbs test' do
|
54
|
-
it "should work" do
|
55
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
-
end
|
57
|
-
end
|
58
|
-
|
59
|
-
# unit tests for words_get_words_json
|
60
|
-
# Get words in input string (JSON)
|
61
|
-
# Get the component words in an input string, formatted as JSON
|
62
|
-
# @param input String to process
|
63
|
-
# @param [Hash] opts the optional parameters
|
64
|
-
# @return [GetWordsJsonResponse]
|
65
|
-
describe 'words_get_words_json test' do
|
66
|
-
it "should work" do
|
67
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
68
|
-
end
|
69
|
-
end
|
70
|
-
|
71
|
-
# unit tests for words_get_words_string
|
72
|
-
# Get words from string
|
73
|
-
# Segment an input string into its component words
|
74
|
-
# @param input Input string
|
75
|
-
# @param [Hash] opts the optional parameters
|
76
|
-
# @return [String]
|
77
|
-
describe 'words_get_words_string test' do
|
78
|
-
it "should work" do
|
79
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
80
|
-
end
|
81
|
-
end
|
82
|
-
|
83
|
-
# unit tests for words_nouns
|
84
|
-
# Get nouns in string
|
85
|
-
# Returns all of the nouns in the input string
|
86
|
-
# @param input Input string
|
87
|
-
# @param [Hash] opts the optional parameters
|
88
|
-
# @return [String]
|
89
|
-
describe 'words_nouns test' do
|
90
|
-
it "should work" do
|
91
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
92
|
-
end
|
93
|
-
end
|
94
|
-
|
95
|
-
# unit tests for words_post
|
96
|
-
# Get the verbs in a string
|
97
|
-
# Get all of the verbs in the input string.
|
98
|
-
# @param input Input string
|
99
|
-
# @param [Hash] opts the optional parameters
|
100
|
-
# @return [String]
|
101
|
-
describe 'words_post test' do
|
102
|
-
it "should work" do
|
103
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
104
|
-
end
|
105
|
-
end
|
106
|
-
|
107
|
-
# unit tests for words_pronouns
|
108
|
-
# Returns all pronounts in string
|
109
|
-
# Returns all pronouns in the input string
|
110
|
-
# @param input Input string
|
111
|
-
# @param [Hash] opts the optional parameters
|
112
|
-
# @return [String]
|
113
|
-
describe 'words_pronouns test' do
|
114
|
-
it "should work" do
|
115
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
116
|
-
end
|
117
|
-
end
|
118
|
-
|
119
|
-
# unit tests for words_proper_nouns
|
120
|
-
# Get proper nouns in a string
|
121
|
-
# Returns all of the proper nouns in a string. Proper nouns are named entities such as \"Hilton\".
|
122
|
-
# @param input Input string
|
123
|
-
# @param [Hash] opts the optional parameters
|
124
|
-
# @return [String]
|
125
|
-
describe 'words_proper_nouns test' do
|
126
|
-
it "should work" do
|
127
|
-
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
128
|
-
end
|
129
|
-
end
|
130
|
-
|
131
|
-
end
|