You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucene.apache.org by cp...@apache.org on 2019/02/14 19:03:52 UTC

[lucene-solr] branch branch_7_7 updated: further solr-ref-guide grammar fixes (s/rather then/rather than/g)

This is an automated email from the ASF dual-hosted git repository.

cpoerschke pushed a commit to branch branch_7_7
in repository https://gitbox.apache.org/repos/asf/lucene-solr.git


The following commit(s) were added to refs/heads/branch_7_7 by this push:
     new dc09c69  further solr-ref-guide grammar fixes (s/rather then/rather than/g)
dc09c69 is described below

commit dc09c697ff1ba8013c7d38b8b8c486c4a6fb63a9
Author: Christine Poerschke <cp...@apache.org>
AuthorDate: Thu Feb 14 18:59:05 2019 +0000

    further solr-ref-guide grammar fixes (s/rather then/rather than/g)
---
 solr/solr-ref-guide/src/curve-fitting.adoc    | 2 +-
 solr/solr-ref-guide/src/dsp.adoc              | 6 +++---
 solr/solr-ref-guide/src/machine-learning.adoc | 4 ++--
 solr/solr-ref-guide/src/time-series.adoc      | 2 +-
 4 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/solr/solr-ref-guide/src/curve-fitting.adoc b/solr/solr-ref-guide/src/curve-fitting.adoc
index 50a04c9..d0b8452 100644
--- a/solr/solr-ref-guide/src/curve-fitting.adoc
+++ b/solr/solr-ref-guide/src/curve-fitting.adoc
@@ -238,7 +238,7 @@ There are also three helper functions that can be used to retrieve the estimated
 * `getAngularFrequency`: Returns the angular frequency of the sine wave.
 * `getPhase`: Returns the phase of the sine wave.
 
-NOTE: The `harmfit` function works best when run on a single oscillation rather then a long sequence of
+NOTE: The `harmfit` function works best when run on a single oscillation rather than a long sequence of
 oscillations. This is particularly true if the sine wave has noise. After the curve has been fit it can be
 extrapolated to any point in time in the past or future.
 
diff --git a/solr/solr-ref-guide/src/dsp.adoc b/solr/solr-ref-guide/src/dsp.adoc
index d94d234..38f82d3 100644
--- a/solr/solr-ref-guide/src/dsp.adoc
+++ b/solr/solr-ref-guide/src/dsp.adoc
@@ -231,7 +231,7 @@ When this expression is sent to the `/stream` handler it responds with:
 ----
 
 One approach to scaling the dot product is to first scale the vectors so that both vectors have a magnitude of 1. Vectors with a
-magnitude of 1, also called unit vectors, are used when comparing only the angle between vectors rather then the magnitude.
+magnitude of 1, also called unit vectors, are used when comparing only the angle between vectors rather than the magnitude.
 The `unitize` function can be used to unitize the vectors before calculating the dot product.
 
 Notice in the example below the dot product result, set to variable *`e`*, is effectively 1. When applied to unit vectors the dot product
@@ -463,7 +463,7 @@ difference in the formula when representing correlation is that the second vecto
 
 Notice in the example below that the second vector is reversed by the `rev` function before it is operated on by the `conv` function.
 The `conv` function reverses the second vector so it will be flipped back to its original order to perform the correlation calculation
-rather then the convolution calculation.
+rather than the convolution calculation.
 
 Notice in the result the highest value is 217. This is the point where the two vectors have the highest correlation.
 
@@ -734,7 +734,7 @@ the matrix which is a vector containing the real values of the fft response.
 
 The plot of the real values of the `fft` response is shown below. Notice there are two
 peaks on opposite sides of the plot. The plot is actually showing a mirrored response. The right side
-of the plot is an exact mirror of the left side. This is expected when the `fft` is run on real rather then
+of the plot is an exact mirror of the left side. This is expected when the `fft` is run on real rather than
 complex data.
 
 Also notice that the `fft` has accumulated significant power in a single peak. This is the power associated with
diff --git a/solr/solr-ref-guide/src/machine-learning.adoc b/solr/solr-ref-guide/src/machine-learning.adoc
index 142d617..59a6774 100644
--- a/solr/solr-ref-guide/src/machine-learning.adoc
+++ b/solr/solr-ref-guide/src/machine-learning.adoc
@@ -386,7 +386,7 @@ This expression returns the following response:
 === Cluster Features
 
 The example below examines the top features of a specific cluster. This example uses the same techniques
-as the centroids example but the top features are extracted from a cluster rather then the centroids.
+as the centroids example but the top features are extracted from a cluster rather than the centroids.
 
 [source,text]
 ----
@@ -490,7 +490,7 @@ The `multiKmeans` function runs the k-means clustering algorithm for a given num
 best result based on which trial produces the lowest intra-cluster variance.
 
 The example below is identical to centroids example except that it uses `multiKmeans` with 100 trials,
-rather then a single trial of the `kmeans` function.
+rather than a single trial of the `kmeans` function.
 
 [source,text]
 ----
diff --git a/solr/solr-ref-guide/src/time-series.adoc b/solr/solr-ref-guide/src/time-series.adoc
index c68ee3c..ff90a74 100644
--- a/solr/solr-ref-guide/src/time-series.adoc
+++ b/solr/solr-ref-guide/src/time-series.adoc
@@ -329,7 +329,7 @@ trend or seasonality from a time series. This is known as making a time series
 
 === First Difference
 
-The actual technique of differencing is to use the difference between values rather then the
+The actual technique of differencing is to use the difference between values rather than the
 original values. The *first difference* takes the difference between a value and the value
 that came directly before it. The first difference is often used to remove the trend
 from a time series.