Jaidev Deshpande

Results 79 issues of Jaidev Deshpande

Check if labelstudio can be used to annotate tokens and spans.

In the variable settings modal, find a way to support simple if-else logic. Consider the following sentences: ``` A randomly generated number is positive. A randomly generated number is negative....

Can't delete the selected variable. ![image](https://user-images.githubusercontent.com/1250388/77392866-e9644600-6dc1-11ea-86f9-df98a009ed91.png)

Any variable in a narrative can have an optional sentiment. For example: ```jinja {% set trend = 'increased' if x > 0 else 'decreased' %} Sales have {{ trend }}....

enhancement
help wanted
nlp

When NLG is imported into another gramex app (the "host" app), alongwith uploaded datasets, allow any formhandler URLs present in the host app as sources of data.

enhancement

[`nlg.utils.ner`](https://github.com/gramener/gramex-nlg/blob/dev/nlg/utils.py#L133) wrongly clubs named entities and nouns together. This is a problem because NEs undergo a literal search, whereas nouns _should_ undergo a lemmatized search. E.g. `"Inception is a good...

bug
nlp

In context of the [actors dataset](https://github.com/gramener/gramex-nlg/blob/dev/nlg/tests/data/actors.csv), ```python doc = nlp('James Stewart has the highest rating.') fh_args = {'_sort': ['-rating']} nugget = templatize(doc, fh_args, df) print(nugget) ``` ```jinja {% set fh_args...

enhancement
nlp

Datasets may have hyphenated column names or names separated by underscores, like the iris dataset. Initialize the spaCy tokenizer with [modified infix rules](https://spacy.io/usage/linguistic-features#native-tokenizer-additions) to handle this.

enhancement
nlp

Currently, an inflection is defined as one of the five following modifications to a word: * uppercase * lowercase * capitalization * singularization * pluralization. The detection mechanism works by...

enhancement
help wanted
nlp

Nuggets should have a `.clone()` method, which copies a nugget but assigns a different set of FormHandler arguments. This would help auto-generate new nuggets. E.g, in the context of the...

enhancement
nlp