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

Use dotnet machine from within machine.py? #474

Open
johnml1135 opened this issue Sep 4, 2024 · 0 comments
Open

Use dotnet machine from within machine.py? #474

johnml1135 opened this issue Sep 4, 2024 · 0 comments

Comments

@johnml1135
Copy link
Collaborator

We can - but should we?

from pythonnet import load
load("coreclr")
import clr

ref = clr.AddReference("SIL.Machine")
import SIL.Machine.Corpora as corpora

[print(n) for n in dir(corpora) if not n.startswith("__")]

First, create a release of Machine - and place all the DLL's in Machine.py folder. Add pythonnet with pip. Open up python and then run the above command - you will see that we can access SIL.Machine from within python. Should we?

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