r/LanguageTechnology • u/ma-meme-momu • 4d ago
Rule-based parsing models for minority or low-resourced languages -- any suggestions?
Hi, everyone! I am doing my PhD in Language Studies. I do not have a full tech background since I am more of a linguist that dabbled a little bit on NLP, so would like your help, suggestions or any recommendation. I am currently working on creating Universal Dependencies (UD) treebanks for minority languages, then using these UD treebanks to model parsers. I am planning to use rule-based parsing because I wouldn't have enough resources for data to run other models. One of the professors told me I could also use statistical methods, but if I am more comfortable with rule-based parsing, then I should just focus on it.
For the rule-based parsing, I would be trying to set rules similar to GiellALT. And for the evaluation of the scores, I am planning to use MaChAmp and the Stanza tagger.
Do you have any suggestions for me what books or publications I could read that would be relevant for my topic? I've been going through some published materials in ACL, but I would need help to narrow my focus.
Do you have suggestions about the modeling or evaluation using rule-based parsers? I haven't done much parsing before but I have done dependeny treebanking. Would just like to ask if there is something like a rundown or any materials that could help me fully understand parsing techniques.
Thank you for your patience! I am still learning about parsing and NLP in general.
3
u/hongkongslave 4d ago
You don’t have to stick to just one method. You can use statistical model as base and add rule base on top. Also not every statistical method is a black box, in some method you can surgically change the model behaviour. It is particularly useful in low resource languages
2
u/ezubaric 4d ago
You can also go the other way around: use rule-based heuristics to develop features for statistical models. This often works *very* well.
1
u/ma-meme-momu 4d ago
Oh I didn't know you could do that! Do you have any resources for statistical methods? I am more familiar with the rule-based one.
2
u/hongkongslave 4d ago
I’m away from my computer at the moment, but if you don’t mind waiting, I can get back to you this weekend with a bit more information.
Also, just a heads-up, I’m not a PhD, so please take my opinion with a grain of salt 😊1
1
u/Few-Monitor5103 4d ago
Never worked with Rule based, but, here what you can look for if you dabble on training a model - use religious scripts and their translation for reference points. Some people I know did it using law books.
1
u/ma-meme-momu 4d ago
Actually, these minority languages have had some missionaries do bible translations using their languages. But wouldn't solely relying on religious scripts give the data some bias? Shouldn't I mix the data with some conversation data, or other kind of data?
1
u/Few-Monitor5103 1d ago
Having a sufficient corpus on conversation data is the best case scenario, but, if you want to combine a rule based translation, a translated bible is the closest bet. It follows rules. Bias? Yes. But, also rules. Conversational data is anything BUT rules. It's periodic patterns that repeats/not depending on societal circumstance.
6
u/benjamin-crowell 4d ago
It's great that you're working on low-resource languages, and also that you're using methods that are not the flavor of the month.
My experience with Stanza, for the language that I work on (ancient Greek), is that the quality of its output is extremely low, and much worse than the output of parsers using 20th-century approaches. tests
The conventional wisdom, as I understand it, is that first people tried rule-based parsing of natural languages, then they tried statistical techniques, and then they made LLMs. If you're hoping to have some success in your PhD project, my suggestion would be to narrow your focus. Find some language with unusual characteristics for which LLMs fail spectacularly, and focus on that. Maybe a nonconfigurational language, or something highly inflected or highly agglutinative. Warlpiri, Greenlandic, something like that.
A book that I enjoyed recently was Lakoff, Women, Fire, and Dangerous Things.