Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Importer] Allow column indexes in property primText #9

Open
MartinKl opened this issue Mar 9, 2021 · 0 comments
Open

[Importer] Allow column indexes in property primText #9

MartinKl opened this issue Mar 9, 2021 · 0 comments
Assignees

Comments

@MartinKl
Copy link
Contributor

MartinKl commented Mar 9, 2021

Problem

Sometimes it might be easier to specify the column index rather than the column name to identify primary texts. This not possible in the current version

Relevance

As an example, assuming I have a large number of files that I would like to import, but I did not assign a (uniform) title to my text column to which all the other annotation columns refer. The (gigantic) effort of properly naming that column in all files could be avoided by just pointing at the first column, for example.

Potential solution

To be most user-friendly I suggest to stick to column indexing by letters as used in common technology relying on the given file format. To indicate to the importer that a primText value is actually a column index, the value should be preceded by a #, e. g.

<property key="primtText">#A</property>

If you have thoughts or other suggestions, go ahead.

@MartinKl MartinKl self-assigned this Mar 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant