Comments (3)
This is a good suggestion. The homonym numbers are useful for generation too, for the cases where the POS is same but the inflectional paradigm isn't, e.g. laki : lain (law) vs. laki : laen (peak). In retrospect, that is probably the only useful homonym numbering, though changing to it will be a major overhaul.
A quick workaround to optionalise the numbers should be easy to concoct, I'll try if a simple replace rule will work for most...
In future I'd probably add a less strning-representation dependent generation api in any case.
from omorfi.
This is my very sophisticated workaround branch as a stopgap for my own use: frankier@b38669d
It seems even for Scandic loan laki and real original Finnic laki which are quite clearly distinct, some applications might know which one they have and be able to somehow retrieve the homonym number, while others simply can not or prefer to get both generations for some other reason. On the other hand, if there was a known cap on the number of homonyms, it could also be fixed up on the Python API side by looping through and trying all if this is preferable for some reason (transducer size?).
from omorfi.
Interesting for the vowel harmony homonyms. I'll keep it in mind.
from omorfi.
Related Issues (20)
- Centos7 omorfi compilation fails. HOT 1
- Centos7 compilation fails due to undefined reference HfstTranducer::lookup_fd HOT 4
- construct neutral fast interchange format
- Apparently missing test file HOT 1
- references HOT 1
- `PKG_CHECK_MODULES` error when running `./configure` HOT 5
- OOV analyses signal in-band
- Build fails HOT 1
- Models download file has wrong URL HOT 1
- Please add a plain-text LICENSE file HOT 1
- On Community Guidelines
- Genitive for eloonjäänyt is wrong?
- Ambigous install instructions HOT 2
- Can not run the omorfi-lookup.cc example HOT 1
- Js binding HOT 1
- manpage link in README broken HOT 1
- Program 'zip' is checked conditionally, but unconditionally used in the build
- Strange output using the hyphenation model through the C++ library HOT 1
- libhfst missing, following python instructions HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from omorfi.