摘要:
A method and an apparatus are provided for training a named entity recognition (NER) model. By constructing tag annotations for tags and causing the tag annotations to contain information for indicating the positions of tokens in named entities, corresponding to the tags, respectively, in the process of training the NER model, the NER model can better understand the different positions of different tokens in the same named entity, so that the trained NER model can more accurately recognize named entities.
摘要:
A method and an apparatus for sequence labeling on an entity text, and a non-transitory computer-readable recording medium are provided. In the method, a start position of an entity text within a target text is determined. Then, a first matrix is generated based on the start position of the entity text. Elements in the first matrix indicates focusable weights of each word with respect to other words in the target text. Then, a named entity recognition model is generated using the first matrix. The named entity recognition model is obtained by training using first training data, the first training data includes word embeddings corresponding to respective texts in a training text set, and the texts are texts whose entity label has been labeled. Then, the target text is input to the named entity recognition model, and probability distribution of the entity label is output.
摘要:
A method and an apparatus for named entity recognition, and a non-transitory computer-readable recording medium are provided. In the method, text elements are traversed according to a text span to obtain candidate entity words. Then, a class to which the candidate entity word belongs is recognized. The recognizing of the class includes generating a prompt template corresponding to the candidate entity word, and concatenating the text to be recognized and the prompt template to obtain a concatenated text; generating vector representations of the text elements in the concatenated text; generating the vector representation of the candidate entity word according to the vector representations of the text elements of each candidate entity word in the concatenated text, and the vector representation of the text element of the mask word; and classifying the vector representation of the candidate entity word to obtain the class of the candidate entity word.
摘要:
A method and an apparatus for recognizing an intention, and a non-transitory computer-readable recording medium are provided. The method includes learning vectors of knowledge base elements in corpus samples, and converting the corpus samples into row vectors composed of the vectors of the knowledge base elements in a knowledge base; extracting feature vectors from respective pooling windows in the corpus samples by hierarchical pooling, determining weights positively correlated with similarities between texts within the respective pooling windows and the respective corpus samples, performing weighting on the extracted feature vectors to obtain feature vectors of the respective pooling windows, and obtaining feature vectors of the respective corpus samples composed of the feature vectors of the pooling windows; training a vector-based intention recognition classifier, based on the feature vectors of the corpus samples; and recognizing an intention in querying a corpus, using the trained intention recognition classifier.
摘要:
An integrated spectro-microscopic system for multimodality imaging on a sample includes a reflected differential interference contrast (RDIC) microscope, a Raman spectroscope optically coupled with the RDIC microscope and a total internal reflection fluorescence/scattering (TIRF/TIRS) microscope optically coupled with the RDIC microscope such that the integrated spectro-microscopic system is capable of simultaneously acquiring both the RDIC images, the Raman spectra and TIRF/TIRS images on the same sample.
摘要:
An integrated spectro-microscopic system for multimodality imaging on a sample includes a reflected differential interference contrast (RDIC) microscope, a Raman spectroscope optically coupled with the RDIC microscope and a total internal reflection fluorescence/scattering (TIRF/TIRS) microscope optically coupled with the RDIC microscope such that the integrated spectro-microscopic system is capable of simultaneously acquiring both the RDIC images, the Raman spectra and TIRF/TIRS images on the same sample.
摘要:
A method, an apparatus and an electronic device for performing entity linking, and a non-transitory computer-readable recording medium are provided. The method includes constructing training data including a plurality of sets of labeled data using an existing unambiguous entity database where unambiguous entities corresponding to respective entity words are stored, each set of the labeled data including a text having an entity word and an unambiguous entity linked with the entity word; training an unambiguous entity recognition model whose output is a matching probability between an entity word in a text and an unambiguous entity using the training data; and inputting a text having an entity word to be recognized into the unambiguous entity recognition model, and determining an unambiguous entity linked with the entity word to be recognized based on an output result of the unambiguous entity recognition model.
摘要:
User behavior analysis method and device are disclosed. The method comprises: obtaining a behavior record of users regarding commodities; acquiring, by determining a commodity feature vector in a predetermined commodity feature space of each of the commodities, a commodity feature matrix consisting of the commodity feature vectors of the commodities; for each of the users, calculating, based on a sub behavior record of the corresponding user regarding each of the commodities, a preference score of the corresponding user regarding each of the commodities, so as to get a score matrix composed of the preference scores of the users regarding the commodities; and for each of the users, determining, based on a regularized least squares based solution of a difference function of the score matrix and a prediction matrix, a user feature vector of the corresponding user in its related predetermined commodity feature space.
摘要:
The invention relates to a hybrid integrated wind-solar-diesel-city power supply system, which comprises at least one subsystem selected from wind power subsystems or solar power subsystems and at least one diesel-city power subsystem, a direct-current bus unit, a main control unit, multiple high frequency rectifiers and a direct-current distribution unit. Each one subsystem has a DC output coupled to said direct-current bus unit for afflux. Said main control unit is configured to select a set of subsystems from the wind and solar power subsystems and enable the selected set of subsystems but disable others, so as to let a sum of maximum power output of all enabled subsystems to be larger than or equal to power demanded while minimize the number of the enabled subsystems contained in the selected set of the subsystems, and adjust operation of the selected subsystems so as to optimize the system efficiency, and also configured to control current and voltage output of said high frequency rectifier according to the operation status of said direct-current distribution unit and the voltage and current output of said direct-current bus unit, thereby advantageously increasing efficiency and reducing the power consumption of the system, and thus also improve reliability and life of the system apparatus.
摘要:
A method for controlling well bore pressure based on model prediction control theory and systems theory, which belongs to the field of well bore pressure control technique, includes: detecting a well bottom pressure, a stand pipe pressure, a casing pressure, an injection flow rate and an outlet flow rate during construction process, and determining the presence of overflow or leakage; if there is no overflow or leakage, then fine-adjusting the wellhead casing pressure according to the slight fluctuations of the well bottom pressure, the stand pipe pressure or the casing pressure, ensuring that the well bottom pressure, the stand pipe pressure or the casing pressure are at a set value; if there is overflow or leakage, then using a well bore multi-phase flow dynamic model to simulate and calculate the overflow or leakage position and starting time of the overflow or leakage, predicting the variation over a future time period of the well bore pressure in the well drilling process, and utilizing an optimization algorithm to calculate the control parameter under a minimum of an actual well bottom pressure difference during the future period; and repeating the optimization process for the next time period after a first control parameter is selected and set. The present method enables the well bore pressure to be controlled within the allowable fluctuation range of a project, thus achieving precise pressure control.