A linguistic expression represents vague human terms such as "very small", "extremely big" etc. Such notions are
always reasoned within a given context.
lingexpr returns a function that models a selected linguistic expression.
Accordingly to the given
atomic expression (such as "small", "big") and a linguistic
hedge (such as
extremely), the returned function transforms numeric values into degrees (from
[0, 1] interval),
at which the values correspond to the expression.
1 2 3 4 5 6 7 8 9 10
A context of linguistic expressions (see
An atomic expression whose horizon we would like to obtain
The type of the required linguistic hedge ('-' for no hedging)
Negate the expression? (For instance, "not very small".) Negation
is done using the
Parameters that determine the shape of the hedges
An object of class
matrix (inherits from
array) with 9 rows and 11 columns.
Based on the context type, the following atomic expressions are allowed:
ctx3() (trichotomy): small, medium, big;
ctx5() (pentachotomy): small, lower medium, medium, upper medium, big;
ctx3bilat() (bilateral trichotomy): negative big, negative medium, negative small,
zero, small, medium, big;
ctx5bilat() (bilateral pentachotomy): negative big, negative medium, negative
small, zero, small, medium, big.
The values of the
atomic parameter have the following meaning (in ascending order):
neg.bi: big negative (far from zero)
neg.um: upper medium negative (between medium negative and big negative)
neg.me: medium negative
neg.lm: lower medium negative (between medium negative and small negative)
neg.sm: small negative (close to zero)
lm: lower medium
um: upper medium
hedge parameter has the following meaning:
-: empty hedge,
ml: more or less,
qr: quite roughly,
vr: very roughly.
Accordingly to the theory of linguistic expressions by Novak, not every hedge is applicable to each atomic expression. The combinations of allowed pairs can be found in allowed.lingexpr. Trying to create forbidden combination results in error.
Returns a function with a single argument, which has to be a numeric vector.
1 2 3 4 5 6 7
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.