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

Multiflex does not process last line if not terminated by newline #120

Open
eric-laporte opened this issue Feb 15, 2022 · 1 comment
Open

Comments

@eric-laporte
Copy link
Member

eric-laporte commented Feb 15, 2022

Multiflex does not process the last line of a multiword-entry dictionary (DELAC) if it is not terminated by a newline character.

What steps will reproduce the problem?

  1. Open the attached DELAC, dicomotscomposes.dic (in comment), with the Dela menu
  2. Use Dela > Chek format: everything is OK
  3. Use Dela > Inflect

What is the expected output?

All entries should be processed, including the last one. (In the case of a dictionary of simple words, that's what happens.)

What do you see instead?

The following error message is displayed in red: 'Bad format in DELAC line', and the inflected forms of the last entry of the dictionary do not appear in the output.

More info

@eric-laporte
Copy link
Member Author

Here is a better dictionary for the example:
dicomotscomposes.dic.txt
and an inflection transducer used in this version:
NC_m_s_XXXX.grf.txt

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

2 participants