humlab-swedeb / swedeb-api

1 stars 0 forks source link

Ngram left/right/any #18

Open rebeckahw opened 1 week ago

rebeckahw commented 1 week ago

Add support for requesting n-grams with search placed to the left, the right or in any position in the result. Modify tool_router.py and ngrams.py

roger-mahler commented 1 week ago

Add n-gram alignment to n-gram domain service.

rebeckahw commented 4 days ago

Alignment support added to api for n-grams

https://github.com/humlab-swedeb/swedeb-api/blob/0c5749e7e94fc2a39483a4269fe0eee65595b0e6/api_swedeb/api/path_enums.py#L4C1-L7C16