summaryrefslogtreecommitdiffstats
path: root/linguistics/src/main/java/com/yahoo/language
Commit message (Collapse)AuthorAgeFilesLines
* add comment for intention in determineScript functionMariusArhaug2024-04-041-0/+1
|
* Add SimpleTokenScript to SimpleTokenizerMariusArhaug2024-04-032-1/+85
| | | | | | | | When parsing datasets such as WikiDumps to a significance model, we want to only keep characters of that language script within our model. So when adding the script value to our tokenizer we are able to use this to filter out non-latin words when creating an english significance model for example.
* Expose cache to embeddersJon Bratseth2024-04-011-0/+23
|
* Pass context when resolving propertiesJon Bratseth2024-02-151-9/+0
|
* ChainedMap can't be copiedJon Bratseth2024-01-201-1/+1
|
* Revert "Merge pull request #29905 from ↵Jon Bratseth2024-01-201-0/+10
| | | | | | | vespa-engine/revert-29884-bratseth/param-refs-in-embed" This reverts commit c6b547c0c2898a324983356aa677ea3082533f7d, reversing changes made to 8c7f8c17ad5e1de5adcc71ee34f2a3c1cd36d6bd.
* Revert "Support parameter references in embed"Henning Baldersheim2024-01-151-10/+0
|
* Support parameter references in embedJon Bratseth2024-01-121-0/+10
| | | | Support embed(@myParameter) in addition to embed('text to embed')
* Revert "Merge pull request #29328 from ↵Jon Bratseth2023-11-144-13/+30
| | | | | | | vespa-engine/revert-29314-bratseth/casing-take-2" This reverts commit a72e949533a46d665440a9c72ca2b8fb58f3a9c3, reversing changes made to 944d635d00e165166508ef23399e9ed65a87a9c8.
* Revert "Bratseth/casing take 2"Harald Musum2023-11-134-30/+13
|
* Prefer first stem to original if non equalJon Bratseth2023-11-102-11/+28
|
* Revert "Revert "Don't lowercase linguistics annotations""Jon Bratseth2023-11-092-2/+2
| | | | This reverts commit 0dfd4fe4c6ddbded490da36e71f27c4b70aa4226.
* Revert "Don't lowercase linguistics annotations"Jon Bratseth2023-11-092-2/+2
|
* Don't lowercase linguistics annotationsJon Bratseth2023-11-092-2/+2
| | | | | | Tokens are already lowercased by our bundled linguistics components. Lowercasing again when annotating precludes plugging in a lingustics component which preserves casing.
* Avoid cutting surrogate pairs when tokenisingjonmv2023-10-201-1/+1
|
* Update copyrightJon Bratseth2023-10-0951-51/+51
|
* Allow sampling of fractional millisBjørn Christian Seime2023-08-251-3/+2
|
* Add generic metrics for embeddersBjørn Christian Seime2023-08-041-0/+37
|
* Don't remove indexable symbols when stemmingJon Bratseth2023-06-023-6/+14
|
* Always treat each symbol as a separate tokenJon Bratseth2023-05-222-17/+31
|
* Threat 'other symbols' as lettersJon Bratseth2023-05-221-2/+2
| | | | | The unicode class 'other symbols' contains emojis, math symbols, etc. Treat these as letter characters to support searching for them.
* Use dollar and hour base unitsJon Bratseth2023-05-191-2/+2
|
* Use metric enums everywhereJon Bratseth2023-03-061-1/+1
|
* Add decoding of sentencepiece token sequence to textLester Solbakken2023-02-101-0/+11
|
* Compute code points in whole string only when neededjonmv2022-12-061-5/+3
|
* Split out opennlp-linguisticsHenning Baldersheim2022-11-269-414/+0
|
* much simpler CharSequenceNormalizerArne Juul2022-10-063-9/+100
|
* Merge pull request #24007 from vespa-engine/bratseth/cleanup-082Jon Bratseth2022-09-251-11/+9
|\ | | | | No functional changes
| * No functional changesJon Bratseth2022-09-111-11/+9
| |
* | Make validation messages clearer given multiple instancesJon Bratseth2022-09-151-2/+0
|/
* Determine token types considering all charactersJon Bratseth2022-08-164-108/+89
|
* Remove on Vespa 8Jon Bratseth2022-06-081-8/+0
|
* Use '@Inject' from 'annotations' in multiple bundlesBjørn Christian Seime2022-05-062-2/+2
|
* Resolve rank profile inputsJon Bratseth2022-04-211-1/+1
|
* Rename defaultEmbedderName to defaultEmbedderIdLester Solbakken2022-03-221-2/+2
|
* Add convenience function to represent embedder as mapLester Solbakken2022-03-211-3/+26
|
* Stem by linguistics in rule basesJon Bratseth2022-01-101-3/+20
| | | | Also add a @language directive to stem in other languages than english.
* annotate intentional switch fallthroughArne H Juul2022-01-061-0/+1
|
* Specify how the class is actually loadedJon Marius Venstad2021-12-211-1/+1
|
* Provide array of correct size.Jon Marius Venstad2021-12-201-1/+1
|
* Override ngram creation with something less sillyJon Marius Venstad2021-12-202-1/+32
|
* Use smaller chunks for faster detectionJon Marius Venstad2021-12-201-2/+2
|
* Upper bound on input size, and use opennlp before simple detectorJon Marius Venstad2021-12-201-6/+3
|
* Avoid putting nulls in languange mapJon Marius Venstad2021-12-201-2/+5
|
* Revert "Merge pull request #20578 from ↵Jon Marius Venstad2021-12-207-131/+163
| | | | | | | vespa-engine/revert-20568-jonmv/replace-optimaize-with-lingua" This reverts commit 5476504932cd90eb2dad82dbab633e3ffa2034c3, reversing changes made to 235a78cc4707f78d18c6818a577de1b7507f5e40.
* Revert "Replace optimaize with OpenNLP language detector [run-systemtest]"Jon Marius Venstad2021-12-187-163/+131
|
* Re-add filesJon Marius Venstad2021-12-182-0/+60
|
* Move model to module where it is needed, to simplify, at the cost of larger ↵Jon Marius Venstad2021-12-183-22/+21
| | | | bundles
* Add some javadoc, and no need to handle null return for modelJon Marius Venstad2021-12-172-2/+4
|
* Replace optimaize with OpenNLP language detectorJon Marius Venstad2021-12-176-131/+102
|