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

Can't parse a usfm file that uses .GRK as the file extension. #604

Open
davidbaines opened this issue Oct 23, 2024 · 4 comments
Open

Can't parse a usfm file that uses .GRK as the file extension. #604

davidbaines opened this issue Oct 23, 2024 · 4 comments

Comments

@davidbaines
Copy link
Collaborator

davidbaines commented Oct 23, 2024

The file extension is given in the project's Settings.XML file and typically includes ".SFM" in the 'PostPart' of the file name.
<Naming PrePart="" PostPart="usNIV11.SFM" BookNameForm="41MAT" />

For the Greek resource the USFM files have '.GRK' as their file extension and the line in the Settings.XML is:
Naming PostPart=".GRK" BookNameForm="41MAT"></Naming>
Using silnlp.common.check_books to check the GRK project fails to find any SFM files.

The Danish Bible DBSV uses '.PT7' as the file extension for the USFM files. These can't be found by the check_books script though the line in the settings file seems to be correct: <Naming PrePart="" PostPart="DBSV.PT7" BookNameForm="41MAT" />

@Enkidu93
Copy link
Collaborator

Enkidu93 commented Dec 2, 2024

Does this issue belong in the silnlp repo, @davidbaines?

@johnml1135
Copy link
Collaborator

I am assuming that this is a USFM parsing issue that needs to be addressed both here (in Machine) and in Machine.py. Would this be a good one for @mudiagaobrikisil?

@davidbaines
Copy link
Collaborator Author

davidbaines commented Dec 3, 2024 via email

@ddaspit
Copy link
Collaborator

ddaspit commented Dec 3, 2024

This seems to be an issue in silnlp. I will transfer the issue to silnlp.

@ddaspit ddaspit transferred this issue from sillsdev/machine Dec 3, 2024
@ddaspit ddaspit added bug Something isn't working and removed bug Something isn't working labels Dec 3, 2024
@ddaspit ddaspit moved this from 🆕 New to 🔖 Ready in SIL-NLP Research Dec 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 🔖 Ready
Development

No branches or pull requests

4 participants