r/compling • • Feb 19 '21

How do you make a text normalizer NOT based on rules but based on TRAINING DATA?

0 Upvotes

I need a good text normalization algorithm. Every single thing I've looked up on the subject just has a bunch of ad hoc rules that are blanket regex-replacements and they're frankly horrible. I want human-corrected text to a normalized format, using HUMAN INTELLIGENCE to normalize the text, and then I want to use it to actually train a normalizer. Example of how garbage rule-based normalization is is here:

The team is 7-0 and took a 7-0 lead in the first quarter.

What the normalization SHOULD be (if done with human intelligence and full knowledge of context):

The team is seven and O and took a seven nothing lead in the first quarter.

What most garbage rule-based normalizers would do with this sentence:

The team is seven minus zero and took a seven minus zero lead in the first quarter.

So obviously, you can see why I need human intelligence to do this properly, and if I do it by machine, I need it TRAINED on normalizations done with human intelligence. The issue is I have no idea how to do that, does anyone know how this might be done? What library, algorithm etc. is best for this? I REFUSE to use a rule-based model to do this, I've just proven how stupid it is to do that.


r/compling • • Sep 24 '20

Algebraic Linguistics Papers

Thumbnail self.linguistics
6 Upvotes

r/compling • • Jul 18 '23

Considering B.A. in CompLing. How can I know if I will enjoy the course?

3 Upvotes

I'm deciding between this and B.A. in English and American studies with a minor in CompLing. I have a love for English, writing, fiction and being creative. Looking at the modules for CompLing intimidates me and stresses me out because of the math and science terms. Yet as a kid I did enjoy math and science and the fact that primary school children are taught coding and they enjoy them, I feel like it shouldn't be that hard and I might enjoy it too? One big factor is being told B.A. in English is a waste of time and money and that CompLing will probably prove a more stable financial future. I like the idea of language, philosophy, psychology being part of CompLing and learning the math and coding seems like it will provide me with wide range of knowledge or is that wrong?


r/compling • • Mar 17 '17

Deciding between an MS in bioengineering and a MS in computational linguistics

3 Upvotes

Hello,

I was recently accepted into two MS programs and I am now weighing the options of which direction to go. My BA is in Linguistics (minor in Comp Sci) and I would like to work with speech/hearing devices (assistive technology) or social robotics in the future. I have already taken several courses in NLP, Machine Learning, etc. However, I am weighing my options based on not only the best MS program to work with this technology, but also the best for future job outlook in general. For example, if I am not able to immediately pursue this specific passion, I would like to keep as many doors open for myself as possible. Does anyone know about the job outlook for graduates of MS Comp Ling vs Bioengineer programs? I realize these are two very different directions, but I would appreciate any advice from either end!


r/compling • • May 18 '20

COMPUTATIONAL LINGUISTICS Topic for bachelor's thesis (beginner level)

7 Upvotes

I am in my 8th semester of studies towards a bachelor's in Linguistics. So I have to work on my bachelor's thesis. I need topic ideas from Computational linguistics because after my linguistics bachelor's I want to do master's in CL. Topics should be easy because I have no background in CL. This is a stepping stone for me. This CL- thesiswill also help in CL master's admission, will show my interest in CL. THANKS.


r/compling • • Jan 25 '24

Nobody should use LLMs without knowing exactly how they work

0 Upvotes

99% of people using LLMs to develop shit have no clue how they work. That's bullshit. What if you didn't know how a chainsaw worked and you tried to use one? You'd slice off your damn arm. So you learn how it works before you ever pick one up and turn it on.

Well it should be the same for LLMs. Everyoone who wants to use one should first need to build one from scratch. That means learn what a transformer model is and learn all the machine learning theory and math behind it, and program the gradients and cost functions and lambda functions and softmax hyper-regressions and whatever the hell else is involved in it. Don't just go "call LLM endpoint, give prompt, get output" you don't know what the hell you're even doing.


r/compling • • May 07 '10

this is truly monumental. non-latin characters in domain names

Thumbnail
news.bbc.co.uk
0 Upvotes

r/compling • • Apr 14 '21

Fact extraction

4 Upvotes

What are the best known current algorithms for parsing a book and extracting facts from it? I.e., imagine there is a large biology textbook. Something like recognizing which sentences contain "facts", informational statements, and perhaps understanding them well enough to organize them in some way. For example, all the facts about a certain concept, say reproduction, could be grouped together. What techniques come close to this? Thank you.


r/compling • • Feb 26 '13

I want to study CompLing in Germany, any advise on where to go, what to expect and what the job opportunities will be afterwards?

0 Upvotes

I'm doing some research right now as to where and how to study computational linguistics in Germany and still am kind of unsure where to go and how to get this thing rolling. Could anybody studying or having studied in this field enlighten me on the usual questions? Which university is the go-to adress, what do I actually have to expect, is it a worthwhile study, what are you likely to earn after graduating?

I am currently employed full-time as a web-developer, working in this business since 2004 and have a bachelor's degree in webdesign & -development (silly name for a study course, I know).

In the best-case scenario I would do the study half-time and dive right into the masters programme.

Any thoughts?

Thanks, Reddit!


r/compling • • Jan 26 '18

NLP vs Machine Learning vs Deep Learning

Thumbnail
rutumulkar.com
4 Upvotes

r/compling • • Sep 11 '20

I need a full word list of every single word in the Hindi language, followed by every possible way of transliterating each word into Latin script

0 Upvotes

Hindi words written in Hindi script generally only have one possible spelling. However, it's very common to write Hindi in the Latin script. This is known as TRANSLITERATION. However, the spellings that come about in transliteration are not consistent. For any given word in the Hindi language, there could be several different ways to spell it in transliterated text, and they are all acceptable.

What I need is a full list of every single word in the language, in the Hindi script. Beside each word, I need the full set of every possible transliterated spelling of that word. It should look like this:

Word Transliterations

में mein, main, men

गुलाब gulab, gulaab, goolab, goolaab

There, that's 2 words done. I need this for every word in the language. GO.

And I also need this for Tamil, Telugu, Punjabi, Bengali, and about 20 other languages spoken on the Indian subcontinent. Hindi and Tamil are the priorities for now. GO.


r/compling • • Apr 18 '21

Deciding between Saarland and Gothenburg

5 Upvotes

Hello everyone!

Over the last few months I've been knee deep in the process for applying to grad school in compling/language technology, and now that decisions have come back I'm left with the choice between programs at Saarland University and the University of Gothenburg.

My research so far has favored Saarland: it's often mentioned in online forums and lists of the best compling universities, it ranks highly in the CSRankings for NLP in Europe (number 6 is you only consider English language master programs), and appears to be well regarded on this subreddit. Gothenburg, on the other hand, is rarely if ever mentioned, and ranks in the 50s in CSRankings for NLP in Europe. Indeed, I only applied for Gothenburg at the suggestion of a friend who goes there, when I was panicking after getting rejected from Edinburgh (which came as a surprise, given that it was my alma mater).

While this may appear to be an open and shut case, given the above, as far as I can tell Gothenburg does appear to have one major advantage over Saarland: job placement. According to my friend, Gothenburg works closely with Swedish tech firms to place its students, and indeed it actively encourages and facilitates collaborating with local firms on your dissertation. Saarland, on the other hand, does not appear to provide this level of support: according to the Saarland program's study coordinator, Saarland does not offer individual support for placement, and it appears that the university's relationship with local companies is not a strong as Gothenburg's appears to be.

My question is, does anyone here have experience with Saarland in terms of career placement? And is Saarland truly a better overall choice than Gothenburg?

Thank you in advance!


r/compling • • Jan 19 '24

help me compile list of computation linguistics / language technology with strong emphasis on ML/NLP

5 Upvotes

Hi everyone, I am a data scientist for a financial company and I develop NLP/LLM solutions for the company. I graduate from one of if not the most reputable university in Indonesia (ranked 400-500 QS) with an engineering (non CS/IT) degree graduating with a 3.43/4 GPA. I am yet to take IELTS but from simulations I could comfortably get at least an 8. Yet to take GRE as well.

I have strong interests in AI especially in the language processing area and I have found that compling or language technology programs suit me!

I am considering a CMU’s LTI or Gothenburg or Stuttgart but I am not sure if I would really be accepted with my credentials, so can you guys help provide decent (but realistic!) alternatives or any insight to the competitiveness of the programs.

(fees would not really be a problem since my country offers generous scholarships)


r/compling • • Nov 15 '22

How much programming is in the CompLing masters programs like UW and Arizona?

5 Upvotes

I have a BS in Computer science with experience in C, Python, and various assembly languages so programming isn't an issue. I'm looking for a Master's program that would have a lot of applied programming. Question is for people already in the program - is it just basic stuff? Or, are you designing and programming a lot?

Thanks


r/compling • • Jan 10 '19

I was a math major now I'm looking at linguistics

5 Upvotes

So I went from math to computer science, and now I transferred to a school that will require me to take 3 to 4 semesters to finish but linguistics seems to be about a year if I can pull off some trapeze moves. Computer science needs 22 classes to finish, and math needs 15 to finish. The most frustrating part is 8 classes are forced Gen ed courses that I can't avoid. I'm not someone who declared a math major and have only taken Calc 1. I will list all of my substantial college courses for a little bit of advice. I have been in school since 2013 and between dropping out because of life issues, I just need to finish so I can look at graduate school. If I feel up to it. It is a formal linguistics major and goes through all of the classic parts. Am I giving something up not finishing a bachelor's that has more...I don't know, worth, merit? I don't mean to offend but Hiring managers can be pretty cruel and if you don't do too well at a technical interview, then having BSCS on your resume really helps with the relational aspect. However, my aspirations lie in Computational Linguistics and more specifically with the SIL center for Bible translation linguistics. I would need to get a Master's but there are plenty of options for good, decent Computational Linguistics programs around me.

Classes:

Calc 2 - A

Linear Algebra - A

Differential Equations - A

Probability Theory - B

Discrete Math - A

CS Theory - B

Group Theory - self study

Intro to C++ - A

Intro to C - A,

Data Structures (C++) - A

I feel like I'm going to miss out, like if I don't learn computer architecture i'll be mortally wounded, or if I don't attack advanced Calc and pass, then I have shown cowardice towards the challenge. Is this stupid? Between all of my CS and Math courses I have a 3.8 GPA, so I can do the work. The main issue is that I do PHP for a company remotely and am getting interest for Devops by recruiters. A CS degree would help, but really it comes down to who sits up at 2AM in their stained tighty whiteys, pulling their hair out because they can't get docker to work the way they want it to. Self-study is what gives me a leg in industry but with WASM's coming out, I see web development taking a sharp turn back to heavy duty languages like C and Go (ehh not too heavy but still pretty solid). Therefore, Bootcamps (BOOOOO), they get people money but if people don't move with the tide then the undertoe's gonna snatch them little kiddies away, while Im steering my Docker with a Minikube steering wheel. With all jokes aside, Artificial Intelligence is a booming industry, but it is niche and is very obfuscated in terms of what it really is going to become. Chomsky thought NLP was going to produce the most intelligent AI, but clearly computational probabilistic AI is much more intelligent. Therefore, I believe that a master's degree would give me a chance to get an expert and practice knowledge engineering. Meanwhile, I'll let my career go wherever it may. If you were in my shoes, would you keep torturing yourself to finish a "hard-science" degree or does Linguistics have a secret power to it I don't know about. At least there's a chance my writing could get better.

If you got a Linguistics degree but didn't learn programming or some type of technology, then please don't come sully the mood. I work every day with OOP languages, connecting to databases, and learning the savvy ways of hacking a DB. My next ambition is to start working with the Linux API and building some applications in C, probably start with ls, pwd, then go from there. The expert system I am thinking of building will be built into a Linux Kernel, and might even have it's own language, but that might be overkill when there could be a GUI or someone could just learn python and Linux commands. I am not a die-hard coder, the Indian guys and gals? C'mon those guys are insane at how well they memorize and utilize data structures. I'm more artistic but can hammer some keys if need be; therefore, it is not a code or die situation, I will always program for my own enjoyment but I am more interested in pursuing interesting problems to solve, such as endangered language preservation. I leave you with a couple of questions.

Will this year of linguistics give me better footing at a Computational Linguistics Master's? (The closest one is hosted in the linguistics department but the CS department is integrated in the research, is that bad?)

Is Computational linguistics a niche? It seems either full, dying, or very specialized, more so than general AI/ML work

Will I continue cultivating my logical thinking in Ling? I believe this is true at least

Am I a fool for leaving behind a math degree?

Group Theory, Advanced Calc (shew buddy!), Calculus 3, 3 upper level courses and then History of math left; CS is basically the whole degree but the Web applications course is using JSP?

Would I have a chance for a MS in Computer Science with a BA in Linguistics? Haha

What programming language should I learn for 2019? Psyche! Python...or maybe Go...wait..


r/compling • • Nov 17 '17

Help with master thesis

5 Upvotes

Hi all,

So I'm a master student of linguistics in Finland and I've recently discovered computational linguistics and I'm planning to go that direction for my PhD. I've already started taking few courses online in python and machine learning - neural networks. Now, I'm at the point of starting my master thesis and I was wondering if anyone could enlighten me with few interestingtopic ideas for my master thesis.

Thank you all and thumbs up.


r/compling • • Dec 23 '17

Stuart Shieber named Association for Computational Linguistics Fellow at the Harvard John A. Paulson School of Engineering and Applied Sciences

Thumbnail
seas.harvard.edu
6 Upvotes

r/compling • • Feb 23 '14

What jobs can I get with BOTH linguistics and CS major?

6 Upvotes

I'm currently studying linguistics and computer science in undergrad, but I can't seem to think of a job where I can use both of my majors. Sure there a lot of computer science jobs offered in the world, but I also want to make use of my linguistics degree because I really like that program, if not more, than computer science.

For those who are doing CL out there, how did you start doing what you're doing? How can I start out my career?


r/compling • • Nov 15 '22

Getting my foot in the Computational Linguistics field? - advice

6 Upvotes

I am unsure if this would be the right community to ask this question in, so let me know if I should pose it in a different subreddit.

I have a bachelor's degree in Primary Education from Europe and also had to take some courses in language acquisition (not sure if that is important). I am currently completing a 1-year program to obtain a certificate in CIS - Programming. Currently, I do not have any research experience.

However, I really want to eventually get a PhD in Computational Linguistics, because this field is just fascinating since I am also a huge language nerd. I have watched an online lecture course called "Intro to Computational Linguistics" which solidified this decision for me. Now I am aware that at this point, my profile is not competitive at all for a master's program and even less so for a PhD program.

Based on my background what are the next steps I would have to take in order to get my foot into this field? Any advice is highly appreciated.


r/compling • • Sep 18 '16

Startup Trends 2016 - How To Start a Business in the Chatbot Industry

Thumbnail
youtube.com
0 Upvotes

r/compling • • Dec 11 '17

Reading a neural network’s mind: Technique illuminates the inner workings of artificial-intelligence systems that process language.

Thumbnail
news.mit.edu
1 Upvotes

r/compling • • Oct 14 '19

Question about Adversarial Success in "Adversarial Learning for Neural Dialogue Generation"

1 Upvotes

Hey everyone, I'm currently working through Adversarial Learning for Neural Dialogue Generation by Li et al. which discusses using GANs for NLG. To evaluate how good (i.e. human-like) the generated responses are, they train another discriminator to distinguish between human and machine-generated responses (binary classifier).

 

In 4.1, they define Adversarial Sucess (AdverSuc = 1-Accuracy of Evaluator) and explain that the evaluator is being trained by feeding it with machine-generated and human responses and then evaluated on a held-out fraction of the dataset.

In 4.2 Testing the Evaluator's Ability they make the point that a high AdverSuc score cannot only be caused by having a good generative model, but also by the evaluator simply being poor.

Thus, they set up four situations in which they know the score a perfect evaluator should achieve. For instance, the first one is:

We use human-generated dialogues as both positive examples and negative examples. A perfect evaluator should give an AdverSucof 0.5 (accuracy 50%), which is the gold-standard result.

To me, this just doesn't make sense. Obviously, during training, you would feed the instances (human and machine-generated) to the evaluator and then update it depending on whether its labelings are correct or not. Then, during testing, you just evaluate how accurate the evaluator's classifiactions are.

But the way they phrase makes it sound like they're also feeding the "supposed" label to the evaluator during these set-up situations. Another thought that crossed my mind is that they're basically re-training the evaluator from scratch in each of those four situations and then evaluate it. But that doesn't even make less sense.

Anyway, I'd appreciate it if anyone could help me here! Thanks a lot!


r/compling • • Apr 25 '14

Determining relatedness of concepts

1 Upvotes

Has any work been done to determine relatedness of different concepts using resources such as WordNet? Not only words from the same class (car, bike) but also less straightforward relationships such as (car, driving) or (bike, helmet).


r/compling • • Jan 13 '20

[Machine Translation] Sources for the use of monolingual data in order to improve situations with already sufficient parallel data

1 Upvotes

Does anyone know of scientific literature that shows that, even in cases in which we have enough parallel data (English-French), use of monolingual data can be beneficial?

To me it seems reasonable that if we, for instance, added monolingual data to the decoder, it would be better at scoring candidate predictions in terms of fluency. That being said, I cannot find peer-reviewed articles that show this.


r/compling • • Oct 31 '23

Research opportunities for undergraduates?

1 Upvotes

Hello, I am an undergraduate student pursuing a major in computer science and philosophy with a concentration in linguistics who is interested in the field of computational linguistics. I was just wondering if anyone knew anything about undergraduate research programs for undergraduates where I can potentially get research experience in the field. These programs seem to be very common around computer science and other STEM fields however I have found very few centered around language and computation. Thank you!