Commit 5afb48f4 authored by alexlag's avatar alexlag
Browse files

spelling correction fix, version push

parent 7e538c73
......@@ -4,28 +4,28 @@ module TexterraNLPSpecs
languageDetection: {
path: 'nlp/language',
params: {
class: 'ru.ispras.texterra.core.nlp.datamodel.Language',
class: 'language',
filtering: 'KEEPING'
}
},
sentenceDetection: {
path: 'nlp/sentence',
params: {
class: 'ru.ispras.texterra.core.nlp.datamodel.Sentence',
class: 'sentence',
filtering: 'KEEPING'
}
},
tokenization: {
path: 'nlp/token',
params: {
class: 'ru.ispras.texterra.core.nlp.datamodel.Token',
class: 'token',
filtering: 'KEEPING'
}
},
lemmatization: {
path: 'nlp/lemma',
params: {
class: 'ru.ispras.texterra.core.nlp.datamodel.Lemma',
class: 'lemma',
filtering: 'KEEPING'
}
},
......@@ -39,28 +39,28 @@ module TexterraNLPSpecs
spellingCorrection: {
path: 'nlp/spellingcorrection',
params: {
class: 'ru.ispras.texterra.core.nlp.datamodel.SpellingCorrection',
class: 'spelling-correction-token',
filtering: 'KEEPING'
}
},
namedEntities: {
path: 'nlp/namedentity',
params: {
class: 'ru.ispras.texterra.core.nlp.datamodel.ne.NamedEntityToken',
class: 'named-entity',
filtering: 'KEEPING'
}
},
termDetection: {
path: 'nlp/term',
params: {
class: 'ru.ispras.texterra.core.nlp.datamodel.Frame',
class: 'frame',
filtering: 'KEEPING'
}
},
disambiguation: {
path: 'nlp/disambiguation',
params: {
class: 'ru.ispras.texterra.core.nlp.datamodel.DisambiguatedPhrase',
class: 'dmb-phrase',
filtering: 'KEEPING'
}
......@@ -68,7 +68,7 @@ module TexterraNLPSpecs
keyConcepts: {
path: 'nlp/keyconcepts',
params: {
class: 'ru.ispras.texterra.core.nlp.datamodel.KeyconceptsSemanticContext',
class: 'keyconcepts-sc',
filtering: 'KEEPING'
}
......@@ -84,7 +84,7 @@ module TexterraNLPSpecs
subjectivityDetection: {
path: 'nlp/subjectivity',
params: {
class: 'ru.ispras.texterra.core.nlp.datamodel.SentimentSubjectivity',
class: 'sentiment-subjectivity',
filtering: 'KEEPING'
}
......@@ -92,7 +92,7 @@ module TexterraNLPSpecs
polarityDetection: {
path: 'nlp/polarity',
params: {
class: 'ru.ispras.texterra.core.nlp.datamodel.SentimentPolarity',
class: 'sentiment-polarity',
filtering: 'KEEPING'
}
......@@ -123,7 +123,7 @@ module TexterraNLPSpecs
syntaxDetection: {
path: 'nlp/syntax',
params: {
class: 'ru.ispras.texterra.core.nlp.datamodel.syntax.SyntaxRelation',
class: 'syntax-relation',
filtering: 'KEEPING'
}
}
......
module Version
MAJOR = 0
MINOR = 1
PATCH = 5
PATCH = 6
PRE = nil
YEAR = '2016'
MONTH = '05'
DAY = '23'
MONTH = '08'
DAY = '26'
def self.to_s
[MAJOR, MINOR, PATCH, PRE].compact.join('.')
......
......@@ -45,9 +45,7 @@ class TestTexterraAPI < Minitest::Test
def test_tweet_normalization
assert_instance_of Array, @texterra.tweet_normalization(@en_tweet)
assert_raises ApiError do
@texterra.tweet_normalization(@ru_tweet)
end
assert_instance_of Array, @texterra.tweet_normalization(@ru_tweet)
end
def test_syntax_detection
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment