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

SRX for sentence_splitter #31

Open
fewzee opened this issue May 29, 2024 · 1 comment
Open

SRX for sentence_splitter #31

fewzee opened this issue May 29, 2024 · 1 comment

Comments

@fewzee
Copy link

fewzee commented May 29, 2024

Hi Thomas, I am hoping to use SoMaJo's sentence_splitter in rust, and I am wondering if it would be possible to formulate it in terms of SRX rules? I would happily contribute to making that happen, but I wanted to check with you regarding feasibility before going forward.

@tsproisl
Copy link
Owner

tsproisl commented Aug 5, 2024

Hi,

unfortunately I’m not familiar with Rust or with SRX rules. From the link you posted, it seems like it should be possible to express SoMaJo’s sentence splitting rules in SRX. However, I’m not sure if that is what you want. SoMaJo’s sentence splitter operates on tokenized input, i.e. the input text is first tokenized before it is passed to the sentence splitter. While you could convert the sentence splitter, you would still need to run SoMaJo’s tokenizer (or another tokenizer) first.

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

2 participants