Why is quantity in software still written as “1 result(s)”?
Lately, I’ve been noticing that a lot of software, be it a website, a client application, or a video game, often write a representation of quantity as follows: “1 result(s)”. Now, I can understand why they would do that 20 years ago. But these days, shouldn’t we have enough processing power and memory to be able to say “1 result” and “2 results”?
Why is quantity in software still written as “1 result(s)”?
Lately, I’ve been noticing that a lot of software, be it a website, a client application, or a video game, often write a representation of quantity as follows: “1 result(s)”. Now, I can understand why they would do that 20 years ago. But these days, shouldn’t we have enough processing power and memory to be able to say “1 result” and “2 results”?
Why is quantity in software still written as “1 result(s)”?
Lately, I’ve been noticing that a lot of software, be it a website, a client application, or a video game, often write a representation of quantity as follows: “1 result(s)”. Now, I can understand why they would do that 20 years ago. But these days, shouldn’t we have enough processing power and memory to be able to say “1 result” and “2 results”?
Sentence Tree vs. Words List
I was recently tasked with building a Name Entity Recognizer as part of a project. The objective was to parse a given sentence and come up with all the possible combinations of the entities.
Sentence Tree vs. Words List
I was recently tasked with building a Name Entity Recognizer as part of a project. The objective was to parse a given sentence and come up with all the possible combinations of the entities.
Sentence Tree vs. Words List
I was recently tasked with building a Name Entity Recognizer as part of a project. The objective was to parse a given sentence and come up with all the possible combinations of the entities.
Sentence Tree vs. Words List
I was recently tasked with building a Name Entity Recognizer as part of a project. The objective was to parse a given sentence and come up with all the possible combinations of the entities.
Sentence Tree vs. Words List
I was recently tasked with building a Name Entity Recognizer as part of a project. The objective was to parse a given sentence and come up with all the possible combinations of the entities.
Tokenizing Text Held in a Rope Data Structure
I am building a text editor which makes use of a Ragel based tokenizer to support syntax highlighting. I am considering the use of a rope data structure to support efficient modifications and undo/redo operations. Is there a standard approach for tokenizing or searching text contained in this type of data structure? Some characters can cause the tokenizer to consume the rest of the stream.
Tokenizing Text Held in a Rope Data Structure
I am building a text editor which makes use of a Ragel based tokenizer to support syntax highlighting. I am considering the use of a rope data structure to support efficient modifications and undo/redo operations. Is there a standard approach for tokenizing or searching text contained in this type of data structure? Some characters can cause the tokenizer to consume the rest of the stream.