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

Customised tok command #4

Closed
10zinten opened this issue Jul 10, 2020 · 0 comments
Closed

Customised tok command #4

10zinten opened this issue Jul 10, 2020 · 0 comments

Comments

@10zinten
Copy link
Contributor

10zinten commented Jul 10, 2020

Change tok with arg "rtpls" -> raw-text, clean-text, pos, lemma, sense. Output should in order of the specified tag arg.

Examples of all tags

$ pybo tok --tags rtpls <text>
output:
<raw-text1>/<clean-text1>/<pos1>/<lemma1>/<sense1> <raw-text2>/<clean-text2>/<pos2>/<lemma2>/<sense2>

Example of few tags

$ pybo tok --tags tp <text>
output:
<clean-text1>/<pos1> <clean-text2>/<pos2>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant